[ Home | GAUSS | GAUSS Engine | GAUSS Apps | 3rd Party Apps | Keywords Index ] Analytical Differentiation
This example shows how Symbolic Tools uses the Maple kernel to carry out analytical differentiation, and then to create and compile a GAUSS proc that has the same functionality. This is the basis for Automatic Differentiation.
The process of creating a proc based on symbolic code is a one line operation- symproc. This command takes four arguments - the proc name, the input argument(s), the output required, and the code. The code ( txt ) is GAUSS, with the gradp function overloaded to permit a symbolic second argument. The call to symproc executes the code in the Maple kernel, creates the equivalent GAUSS proc, and compiles the proc, so that it can be called immediately - as shown below.
The proc that is created by the symproc command :
The output from this example is :
|