Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

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

Brian L. Evans
Organization: University of Texas
Department: Department of Electrical and Computer Engineering
URL: http://www.ece.utexas.edu/~bevans/
Steve X. Gu
Organization: Nortel
Old MathSource #

0208-853
Revision date

1997-07-21
Description

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 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 http://ptolemy.eecs.berkeley.edu. Tcl is an embeddable scripting language that is freely distributable.
Subject

*Mathematica Technology > Linking Technology
Keywords

C++, Tcl, Matlab, Scripting language, interface, object-oriented
Downloads

Download
README (16.3 KB) - Text file
Download
tmath0.2.hppa.tar.Z (2.1 MB) - HP UX-10 binaries
Download
tmath0.2.sol2.tar.Z (1.8 MB) - Solaris 2.4 binaries
Download
tmath0.2.src.tar.Z (424.2 KB) - Source code