ADMB Documentation  11.1.1020
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions

Fundamental data type for reverse mode automatic differentiation. More...

#include <fvar.hpp>

List of all members.

Public Member Functions

 dvariable ()
 Null constructor.
 ~dvariable ()
 Destructor; frees memory on gradient stack.
 dvariable (double t)
 Creates dvariable instance from a double constant.
 dvariable (const int &t)
 Creates dvariable instance from a int constant.
 dvariable (kkludge_object)
 Phony constructor designed to avoid ambiguous references?
 dvariable (const prevariable &)
 Constructor for dvariable object from its base class; deep copy.
dvariableoperator= (const prevariable &)
 Assigns a value to a dvariable object.
dvariableoperator= (const df1_one_variable &v)
dvariableoperator= (const df1_two_variable &v)
dvariableoperator= (const df1_three_variable &v)
 Description not yet available.
dvariableoperator= (double)
 Assigns a value to a dvariable object.
 dvariable (const dvariable &)
 Copy constructor for dvariable object; deep copy.

Detailed Description

Fundamental data type for reverse mode automatic differentiation.

Definition at line 1955 of file fvar.hpp.


Constructor & Destructor Documentation

Null constructor.

Creates new dvariable object, sets value to zero and initializes derivatve information.

Definition at line 120 of file fvar2.cpp.

Referenced by param_init_number::restore_value(), param_init_number::save_value(), param_stddev_number::set_dependent_variables(), and param_likeprof_number::variable().

Destructor; frees memory on gradient stack.

Definition at line 142 of file fvar2.cpp.

dvariable::dvariable ( double  t)

Creates dvariable instance from a double constant.

Creates new dvariable object, sets value to zero and initializes derivatve information.

Parameters:
tconstant double passed by value.

Definition at line 153 of file fvar2.cpp.

dvariable::dvariable ( const int t)

Creates dvariable instance from a int constant.

Creates new dvariable object, sets value to zero and initializes derivatve information.

Parameters:
tconstant int passed by reference.

Definition at line 167 of file fvar2.cpp.

Phony constructor designed to avoid ambiguous references?

Definition at line 133 of file fvar2.cpp.

Constructor for dvariable object from its base class; deep copy.

Allocates memory and assigns value of argument to new object.

Parameters:
tconstant prevariable object

Definition at line 93 of file fvar2.cpp.

Copy constructor for dvariable object; deep copy.

Allocates memory and assigns value of argument to new object.

Parameters:
tconstant devariable object

Definition at line 107 of file fvar2.cpp.


Member Function Documentation

dvariable & dvariable::operator= ( const prevariable t)
dvariable& dvariable::operator= ( const df1_one_variable v)
dvariable& dvariable::operator= ( const df1_two_variable v)
dvariable & dvariable::operator= ( const df1_three_variable v)

Description not yet available.

Parameters:

Definition at line 980 of file df13fun.cpp.

dvariable & dvariable::operator= ( double  t)

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