MathGroup Archive 2000

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

Search the Archive

Re: Linking with C++


Hi,

>     I want to construct a mini package for  Mathematica which involves
> defining new types of objects and functions of these objects , (to be
> specific 2D conformal fields in physics).  Anyhow, I've only used
> Mathematica once 5 years ago and I need to know:
> 
> 1)    Can you define new types of objects, relations between them and
> functions of them purely in Mathematica?

Yes but Mathematica is a functional language and it is better to define
functions and rules than objects. You may use functions what don't have
a final value but transformation rules

> 2)     If not is it possible to interface between Mathematica and
> C++, whereby the C++ bit can return expressions as well as numbers?

Yes -- MathLink works fine with C++ and the ReturnType Manual will send
everything


Regards
  Jens


  • Prev by Date: Re: Autosave
  • Next by Date: Re: Autosave
  • Previous by thread: Re: Linking with C++
  • Next by thread: sending notebooks as attatchments with microsoft OutlookExpress...