![]() | Prev | Next |
![]() |
CppAD is distributed by COIN-OR with the Eclipse Public License EPL-2.0 or the GNU General Public License GPL-2.0 or later. |
AD<float>
and AD<double>
are included as part of CppAD. AD<Base>
operations can be recorded and stored in an AD function object object. This object can then be used to evaluate function values and arbitrary order derivatives, and sparsity patterns of derivative values using the Base
type. ADFun
object. Easy to user drivers that compute the entire Jacobian and a specific Hessian are included. ADFun
object can be converted into an object that evaluates derivatives using the type AD<Base>
; see base2ad . This enables one to record new functions that are expressed using derivatives of other functions.