AMOR

 

User Guide for MAD - A Matlab Automatic Differentiation Package, TOMLAB/MAD, Version 1.4 The Forward Mode

Shaun A. Forth & Marcus Edvall 


Abstract 

MAD is a Matlab library of functions and utilities for the automatic differentiation of Matlab functions/statements via operator and function overloading. Currently the forward mode of automatic differentiation is supported via the fmad class. For a single directional derivative objects of the fmad class use Matlab arrays of the same size for a variable's value and its directional derivative. Multiple directional derivatives are stored in objects of the derivvec class allowing for an internal 2-D, matrix storage so allowing the use of sparse matrix storage for derivatives and ensuring efficient linear combination of derivative vectors via high-level Matlab functions. This user guide covers:

Download

TOMLAB PDF (version 1.4): http://tomopt.com/docs/TOMLAB_MAD.pdf

AMOR home