MathGroup Archive 1997

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

Search the Archive

Announcing TMath: A Tcl/C++ Interface to Mathematica

  • To: mathgroup at
  • Subject: [mg7909] Announcing TMath: A Tcl/C++ Interface to Mathematica
  • From: bevans at (Brian Evans)
  • Date: Mon, 21 Jul 1997 03:22:01 -0400
  • Organization: The University of Texas at Austin
  • Sender: owner-wri-mathgroup at

-- Announcing the second major release of TMath --

TMath: A Tcl/C++ Interface to Mathematica

Brian L. Evans (UT Austin) and Steve X. Gu (Nortel)
TMath provides a reusable C++ interface to control multiple Mathematica
processes through the MathLink protocol.  Built on top of this C++
interface is an extension to the scripting language Tcl (Tool Command
Language) that allows Tcl to control Mathematica processes and to
evaluate Mathematica commands.  TMath also provides a similar Tcl
interface to Matlab so that Tcl can be used as a mechanism to pass
information between Mathematica and Matlab.  TMath works with either
Mathematica 2.2 or 3.0.

TMath has been tested on several Unix architectures, but should compile
and work on non-Unix platforms since it uses MathLink to communicate
with Mathematica.  The release includes all source code, as well as
pre-compiled binaries for Solaris 2.5 and HP-UX 10.20 platforms.  In
order to compile the source code, you will need to have Tcl installed.
The pre-compiled binaries, however, do not require a Tcl installation.

TMath is based on an interface from Ptolemy to Mathematica via Tcl.
Ptolemy is a software environment for simulating and generating code for
signal processing and communications systems.  For more information on
Ptolemy and TMath, see  Tcl is an
embeddable scripting language that is freely distributable.  For more
information on Tcl, see

FTP Site:

TMath 0.2 was submitted to MathSource, but it has not been updated there
yet.  MathSource currently lists TMath 0.1 as the most recent version.

Brian L. Evans is with the Dept. of ECE, The University of Texas at
Austin, Austin, TX 78712-1084, E-mail: bevans at,
Steve X. Gu worked on TMath while he was at UC Berkeley.  He is now
with NORTEL, 2305 Mission College Blvd., Santa Clara, CA. 95052-8173,
E-mail: stevegu at

Prof. Brian L. Evans, Dept. of ECE  Voice:  (512) 232-1457
Engineering Science Building        Fax:    (512) 471-5907
The University of Texas at Austin   E-mail: bevans at
Austin, TX 78712-1084 USA           Web:

  • Prev by Date: Re: Re: C f-format-like output in Mma
  • Next by Date: Problem with % and the new notebook
  • Previous by thread: mg7715 Sums vs Map efficiency
  • Next by thread: Problem with % and the new notebook