Next: Contents
An Efficient Symbolic-Numeric Environment By
Extending Mathematica's Format Rules.
M. SOFRONIOU[1]
[1]Dipartimento di Matematica, Universitá degli Studi di Bologna,
Piazza Porta San Donato, 40126 Bologna, Italia. Email: sofronio@dm.unibo.it
Abstract:
A package Format.m extending Mathematica's built-in formatting
rules is presented. Examples of shortcomings of the standard rules are given,
where code generated may not be syntactically correct and of appropriate
precision. These issues are addressed and the formatting rules are
extended to include lists as data objects and assignments to expressions.
The package may be used to considerably enhance and automate code generation.
The result is a symbiosis of symbolic-numeric environments built upon the existing
communication process. Finally, some examples from applied numerical
mathematics are given, where the package has been used to establish a generalised
formulation to a problem via the use of a template file.