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

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

#include <fvar.hpp>

Public Member Functions

 dvariable ()
 Null constructor.
 dvariable (double t)
 Creates dvariable instance from a double constant.
 dvariable (const int &t)
 Creates dvariable instance from a int constant.
 dvariable (kkludge_object)
 Specialized constructor that does not create unnecessary entries in the gradient structure; see function nograd_assign.
 dvariable (const prevariable &)
 Constructor for dvariable object from its base class; deep copy.
 dvariable (const dvariable &)
 Copy constructor for dvariable object; deep copy.
 ~dvariable ()
 Destructor; frees memory on gradient stack.
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.

Detailed Description

Fundamental data type for reverse mode automatic differentiation.

Definition at line 1472 of file fvar.hpp.


Constructor & Destructor Documentation

Null constructor.

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

Definition at line 107 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 129 of file fvar2.cpp.

dvariable::dvariable ( double  t)

Creates dvariable instance from a double constant.

Creates new dvariable object, Sets Value to the argument and initializes derivative information.

Parameters:
tconstant double passed by value.

Definition at line 139 of file fvar2.cpp.

dvariable::dvariable ( const int &  t)

Creates dvariable instance from a int constant.

Creates new dvariable object, Sets value to the argument and initializes derivatve information.

Parameters:
tconstant integer passed by reference.

Definition at line 153 of file fvar2.cpp.

Specialized constructor that does not create unnecessary entries in the gradient structure; see function nograd_assign.

Definition at line 121 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 82 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 95 of file fvar2.cpp.


Member Function Documentation

dvariable & dvariable::operator= ( const prevariable t)

Assigns a value to a dvariable object.

Parameters:
tconstant reference to an object of type prevariable.
Returns:
dvariable reference

Reimplemented from prevariable.

Reimplemented in objective_function_value, param_likeprof_number, param_stddev_number, funnel_dvariable, param_init_bounded_number, dll_param_init_number, param_init_number, dll_param_number, and named_dvariable.

Definition at line 78 of file fvar_o10.cpp.

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)

Assigns a value to a dvariable object.

Parameters:
tconstant object of type double.
Returns:
prevariable reference

Reimplemented from prevariable.

Reimplemented in objective_function_value, param_likeprof_number, param_stddev_number, param_init_bounded_number, dll_param_init_number, param_init_number, dll_param_number, and named_dvariable.

Definition at line 91 of file fvar_o10.cpp.

List of all members.


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