Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings

An Interface for Accessing External Numerical Libraries

V. Khera
H. Greenside
Journal / Anthology

The Mathematica Journal
Year: 1990
Volume: 1
Issue: 2
Page range: 84-88

As an example of how one can improve Mathematica's capabilities for large-scale numerical simulations, we explain how to implement an interface between Mathematica and a numerically-efficient external C function for integrating sets of ordinary differential equations. The user specifies the problem symbolically in Mathematica, which is then automatically parsed, compiled and executed, with the output returned in symbolic form for further analysis within Mathematica. We also discuss various kinds of errors that can arise in different parts of the interface.

*Wolfram Technology > Kernel > Numerics