MathGroup Archive 2005

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

Search the Archive

Re: Types in Mathematica


Steven T. Hatton wrote:
> Let's assume Vector3d has a conversion operator that returns a string
> representation.  I could simply pass it to an output stream that takes a
> string type, and the Vector3d would be converted to a string and put onto
> the stream.  No need to explicitly call a conversion function explicitly.

Overloading is simply done in a different way in Mathematica, e.g. using
inexhaustive pattern matches. This does not make Mathematica less powerful
than C++.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html


  • Prev by Date: Re: How to hide a cell?
  • Next by Date: A list of numbers without "73"
  • Previous by thread: Re: Types in Mathematica
  • Next by thread: Re: Types in Mathematica