Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Linking with C++

  • To: mathgroup at
  • Subject: [mg23634] Re: Linking with C++
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 25 May 2000 01:00:45 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8g7181$>
  • Sender: owner-wri-mathgroup at


>     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


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