MathGroup Archive 2000

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

Search the Archive

Re: Linking with C++

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23634] Re: Linking with C++
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 25 May 2000 01:00:45 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8g7181$j1n@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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...