ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | Friends | List of all members
grad_stack_entry Class Reference

Holds derivative information for arithmetic operators and math library functions. More...

#include <fvar.hpp>

Public Attributes

double * dep_addr
 Pointer to dependent variable. More...
 
void(* func )(void)
 < Pointer to function (if any) to be used for derivative calculation More...
 
double * ind_addr1
 Pointer to first independent variable. More...
 
double * ind_addr2
 Pointer to second independent variable. More...
 
double mult1
 First mutiplicand in chain rule multipication. More...
 
double mult2
 Second mutiplicand in chain rule multipication. More...
 

Friends

void default_evaluation (void)
 Description not yet available. More...
 
class grad_stack
 
void gradcalc (int nvar, const dvector &g)
 
void gradient_structure::jacobcalc (int nvar, const dmatrix &jac)
 
void gradloop ()
 
void slave_gradcalc (void)
 

Detailed Description

Holds derivative information for arithmetic operators and math library functions.

Used to record gradient information on the gradient stack for processing by gradcalc().

Definition at line 894 of file fvar.hpp.

Friends And Related Function Documentation

void default_evaluation ( void  )
friend

Description not yet available.

Parameters

Definition at line 61 of file def_eval.cpp.

friend class grad_stack
friend

Definition at line 909 of file fvar.hpp.

void gradcalc ( int  nvar,
const dvector g 
)
friend

Definition at line 77 of file sgradclc.cpp.

void gradient_structure::jacobcalc ( int  nvar,
const dmatrix jac 
)
friend
void gradloop ( )
friend
void slave_gradcalc ( void  )
friend

Member Data Documentation

double* grad_stack_entry::dep_addr
void(* grad_stack_entry::func)(void)
double* grad_stack_entry::ind_addr1
double* grad_stack_entry::ind_addr2
double grad_stack_entry::mult1
double grad_stack_entry::mult2

Second mutiplicand in chain rule multipication.

Definition at line 903 of file fvar.hpp.

Referenced by default_evaluation(), default_evaluation3(), default_evaluation3ind(), default_evaluation4ind(), and grad_stack::set_gradient_stack().


The documentation for this class was generated from the following file: