Holds derivative information for arithmetic operators and math library functions. More...
#include <fvar.hpp>
Public Attributes | |
| double * | dep_addr |
| Pointer to dependent variable. | |
| void(* | func )(void) |
| < Pointer to function (if any) to be used for derivative calculation | |
| double * | ind_addr1 |
| Pointer to first independent variable. | |
| double * | ind_addr2 |
| Pointer to second independent variable. | |
| double | mult1 |
| First mutiplicand in chain rule multipication. | |
| double | mult2 |
| Second mutiplicand in chain rule multipication. | |
Friends | |
| void | default_evaluation (void) |
| Description not yet available. | |
| class | grad_stack |
| void | gradcalc (int nvar, const dvector &g) |
| Compute the gradient from the data stored in the global gradient_structure. | |
| void | gradient_structure::jacobcalc (int nvar, const dmatrix &jac) |
| void | gradloop () |
| void | slave_gradcalc (void) |
Holds derivative information for arithmetic operators and math library functions.
Used to record gradient information on the gradient stack for processing by gradcalc().
| void default_evaluation | ( | void | ) | [friend] |
friend class grad_stack [friend] |
Compute the gradient from the data stored in the global gradient_structure.
| nvar | Number of variables in the gradient. |
| _g | Vector from 1 to nvar. On return contains the gradient. |
Definition at line 86 of file sgradclc.cpp.
| void gradient_structure::jacobcalc | ( | int | nvar, |
| const dmatrix & | jac | ||
| ) | [friend] |
| void gradloop | ( | ) | [friend] |
| void slave_gradcalc | ( | void | ) | [friend] |
| double* grad_stack_entry::dep_addr |
Pointer to dependent variable.
Definition at line 857 of file fvar.hpp.
Referenced by default_evaluation(), default_evaluation0(), default_evaluation1(), default_evaluation1m(), default_evaluation2(), default_evaluation3(), default_evaluation3ind(), default_evaluation4(), default_evaluation4ind(), default_evaluation4m(), df_eq_pvdoub(), df_minus_eq_pvpv(), df_plus_eq_pvpv(), funnel_gradcalc(), gradcalc(), gradient_structure::jacobcalc(), grad_stack::set_gradient_stack(), grad_stack::set_gradient_stack2(), and grad_stack::set_gradient_stack4().
| void(* grad_stack_entry::func)(void) |
< Pointer to function (if any) to be used for derivative calculation
Definition at line 856 of file fvar.hpp.
Referenced by gradcalc(), gradient_structure::jacobcalc(), grad_stack::set_gradient_stack(), grad_stack::set_gradient_stack2(), and grad_stack::set_gradient_stack4().
| double* grad_stack_entry::ind_addr1 |
Pointer to first independent variable.
Definition at line 858 of file fvar.hpp.
Referenced by default_evaluation(), default_evaluation1(), default_evaluation1m(), default_evaluation2(), default_evaluation3(), default_evaluation3ind(), default_evaluation4(), default_evaluation4ind(), default_evaluation4m(), df_minus_eq_pvpv(), df_plus_eq_pvpv(), grad_stack::set_gradient_stack(), grad_stack::set_gradient_stack2(), and grad_stack::set_gradient_stack4().
| double* grad_stack_entry::ind_addr2 |
Pointer to second independent variable.
Definition at line 860 of file fvar.hpp.
Referenced by default_evaluation(), default_evaluation3(), default_evaluation3ind(), default_evaluation4(), default_evaluation4ind(), default_evaluation4m(), grad_stack::set_gradient_stack(), and grad_stack::set_gradient_stack4().
| double grad_stack_entry::mult1 |
First mutiplicand in chain rule multipication.
Definition at line 859 of file fvar.hpp.
Referenced by default_evaluation(), default_evaluation2(), default_evaluation3(), default_evaluation3ind(), default_evaluation4ind(), grad_stack::set_gradient_stack(), and grad_stack::set_gradient_stack2().
| double grad_stack_entry::mult2 |
Second mutiplicand in chain rule multipication.
Definition at line 861 of file fvar.hpp.
Referenced by default_evaluation(), default_evaluation3(), default_evaluation3ind(), default_evaluation4ind(), and grad_stack::set_gradient_stack().
|
|
Generated on Tue Mar 8 2016 19:51:40 for ADMB Documentation by 1.8.0
|