|
|
|
|
|
|
|
|
MathCode F90: Code Generation of a Symbolic Matrix
|
|
|
|
|
|
Organization: | MathCore Engineering AB |
|
|
|
|
|
|
This notebook demonstrates how MathCode F90 can be used to generate Fortran code to efficiently compute a large matrix with symbolic entries. The matrix in this case is a Hessian of a given function, which is an important entity to compute efficiently. Hessians have many applications, e.g. in optimization algorithms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| CompiledHessian.nb (65.6 KB) - Mathematica Notebook [for Mathematica 5.0] |
|
|