MathGroup Archive 2005

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

Search the Archive

Re: Types in Mathematica

  • To: mathgroup at
  • Subject: [mg62999] Re: Types in Mathematica
  • From: Jon Harrop <usenet at>
  • Date: Sat, 10 Dec 2005 06:03:15 -0500 (EST)
  • References: <dn38ed$3l7$> <dn8fof$bnu$>
  • Sender: owner-wri-mathgroup at

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.

  • 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