Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Types in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62176] Re: [mg62152] Types in Mathematica
  • From: <bsyehuda at gmail.com>
  • Date: Sun, 13 Nov 2005 21:16:12 -0500 (EST)
  • References: <200511120833.DAA19252@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
I warmly recommend you of Roman Maeder books, especially the "The
Mathematica Programmer I" look at
http://www.mathconsult.ch/showroom/pubs/MathProg/
you can see there about all types of programming style implemented with
mathematica.
In addition, the combinatorica package uses the Graph[] head for their
implementation in object oriented fashion, so exploring a little bit the
combinatorica package files will help you to see how other are using this
style.
yehuda

On 11/12/05, Steven T. Hatton <hattons at globalsymmetry.com> wrote:
>
> I know there are reasons for Mathematica not being a strongly typed
> language, but I'm wondering if there are places where a type system might
> be of use, and how it might be implemented, or simulated.
>
> One suggestion from The Mathematica Book is that we could create somethin=
g
> like
> Vector3[x_,y_,z_], and test the head of variables to determine if they ar=
e
> Vector3. I'm not sure exactly where in the book that is, and the Linux
> version does not have a desktop search, AFAIK.
>
> Observations? Suggestions?
> --
> The Mathematica Wiki: http://www.mathematica-users.org/
> Math for Comp Sci http://www.ifi.unizh.ch/math/bmwcs/master.html
> Math for the WWW: http://www.w3.org/Math/
>
>



  • Prev by Date: Re: Re: Plot Angle between Vectors
  • Next by Date: Re: Defining variables in $UserBaseDirectory/init.m
  • Previous by thread: Re: Re: Types in Mathematica
  • Next by thread: Re: Types in Mathematica