ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Friends | List of all members
df1b2quadratic_prior Class Referenceabstract

Description not yet available. More...

#include <df1b2fun.h>

Public Member Functions

 df1b2quadratic_prior (void)
 Default constructor. More...
 
 ~df1b2quadratic_prior (void)
 Destructor. More...
 
void add_to_list (void)
 
void allocate (const df1b2_init_vector &_u, const char *s)
 
void allocate (const df1b2_init_vector &_u)
 
void allocate (const df1b2matrix &_M, const df1b2_init_vector &_u, const char *s)
 
void allocate (const df1b2matrix &_M, const df1b2_init_vector &_u)
 
void allocate (const dvar_matrix &_M, const dvar_vector &_u, const char *s)
 
void allocate (const dvar_matrix &_M, const dvar_vector &_u)
 
void deallocate ()
 
dvector get_cgradient (void)
 
dmatrix get_cHessian (void)
 
df1b2variable get_function (void)
 
dvar_vector get_gradient (void)
 
dvar_matrix get_Hessian (void)
 
virtual void get_Lxu (dmatrix &)=0
 
int get_myindex (void)
 
unsigned int get_num_active_parameters (void)
 
void operator= (const df1b2matrix &)
 
void operator= (const dmatrix &)
 
- Public Member Functions inherited from style_flag_class
virtual void set_old_style_flag (void)=0
 

Static Public Member Functions

static dvector get_cgradient_contribution (void)
 
static dmatrix get_cHessian_contribution (void)
 
static dvar_vector get_gradient_contribution (void)
 
static dvar_matrix get_Hessian_contribution (void)
 
static void get_Lxu_contribution (dmatrix &)
 
static int get_num_quadratic_prior (void)
 
static df1b2quadratic_priorget_ptr (int i)
 
static dvariable get_quadratic_priors (void)
 

Public Attributes

dmatrixLxu
 
unsigned int num_active_parameters
 
df1b2_init_vectorpu
 
int xmyindex
 
- Public Attributes inherited from style_flag_class
int old_style_flag
 

Static Public Attributes

static const int max_num_quadratic_prior =100
 
static int num_quadratic_prior =0
 
static df1b2quadratic_priorptr []
 

Private Attributes

dmatrixCM
 
ivectorindex
 
df1b2matrixM
 

Friends

class df1b2_parameters
 
class quadratic_prior
 

Detailed Description

Description not yet available.

Parameters

Definition at line 1947 of file df1b2fun.h.

Constructor & Destructor Documentation

df1b2quadratic_prior::df1b2quadratic_prior ( void  )

Default constructor.

Definition at line 92 of file fquadpri.cpp.

df1b2quadratic_prior::~df1b2quadratic_prior ( void  )

Destructor.

Definition at line 105 of file fquadpri.cpp.

Member Function Documentation

void df1b2quadratic_prior::add_to_list ( void  )

Definition at line 20 of file fquadpri.cpp.

Referenced by df1b2quadratic_prior().

void df1b2quadratic_prior::allocate ( const df1b2_init_vector _u,
const char *  s 
)

Definition at line 129 of file fquadpri.cpp.

Referenced by allocate().

void df1b2quadratic_prior::allocate ( const df1b2_init_vector _u)

Definition at line 139 of file fquadpri.cpp.

void df1b2quadratic_prior::allocate ( const df1b2matrix _M,
const df1b2_init_vector _u,
const char *  s 
)

Definition at line 134 of file fquadpri.cpp.

void df1b2quadratic_prior::allocate ( const df1b2matrix _M,
const df1b2_init_vector _u 
)

Definition at line 143 of file fquadpri.cpp.

void df1b2quadratic_prior::allocate ( const dvar_matrix _M,
const dvar_vector _u,
const char *  s 
)
void df1b2quadratic_prior::allocate ( const dvar_matrix _M,
const dvar_vector _u 
)
void df1b2quadratic_prior::deallocate ( void  )
inline

Definition at line 1979 of file df1b2fun.h.

dvector df1b2quadratic_prior::get_cgradient ( void  )
static dvector df1b2quadratic_prior::get_cgradient_contribution ( void  )
static
dmatrix df1b2quadratic_prior::get_cHessian ( void  )
static dmatrix df1b2quadratic_prior::get_cHessian_contribution ( void  )
static
df1b2variable df1b2quadratic_prior::get_function ( void  )
dvar_vector df1b2quadratic_prior::get_gradient ( void  )
static dvar_vector df1b2quadratic_prior::get_gradient_contribution ( void  )
static
dvar_matrix df1b2quadratic_prior::get_Hessian ( void  )
static dvar_matrix df1b2quadratic_prior::get_Hessian_contribution ( void  )
static
void df1b2quadratic_prior::get_Lxu ( dmatrix M)
pure virtual
Todo:
Unreachable code, check above break statement. for (int i=1;i<=nvar;i++) { int jcol=(*index)(i); for (int ii=1;ii<=size;ii++) { M(ii+offset,jcol)+=(*Lxu)(i,ii); } }

Definition at line 34 of file fquadpri.cpp.

Referenced by get_Lxu_contribution().

void df1b2quadratic_prior::get_Lxu_contribution ( dmatrix M)
static
int df1b2quadratic_prior::get_myindex ( void  )
inline

Definition at line 1964 of file df1b2fun.h.

unsigned int df1b2quadratic_prior::get_num_active_parameters ( void  )
inline

Definition at line 1963 of file df1b2fun.h.

Referenced by evaluate_function_with_quadprior(), and quadratic_prior::operator=().

static int df1b2quadratic_prior::get_num_quadratic_prior ( void  )
inlinestatic
static df1b2quadratic_prior* df1b2quadratic_prior::get_ptr ( int  i)
inlinestatic
static dvariable df1b2quadratic_prior::get_quadratic_priors ( void  )
static
void df1b2quadratic_prior::operator= ( const df1b2matrix M)
void df1b2quadratic_prior::operator= ( const dmatrix M)

Definition at line 323 of file fquadpri.cpp.

Friends And Related Function Documentation

friend class df1b2_parameters
friend

Definition at line 1991 of file df1b2fun.h.

friend class quadratic_prior
friend

Definition at line 1990 of file df1b2fun.h.

Member Data Documentation

dmatrix* df1b2quadratic_prior::CM
private

Definition at line 1951 of file df1b2fun.h.

ivector* df1b2quadratic_prior::index
private

Definition at line 1949 of file df1b2fun.h.

Referenced by df1b2quadratic_prior(), get_Lxu(), operator=(), and ~df1b2quadratic_prior().

dmatrix* df1b2quadratic_prior::Lxu

Definition at line 1953 of file df1b2fun.h.

Referenced by df1b2quadratic_prior(), get_Lxu(), operator=(), and ~df1b2quadratic_prior().

df1b2matrix* df1b2quadratic_prior::M
private

Definition at line 1950 of file df1b2fun.h.

Referenced by allocate(), df1b2quadratic_prior(), get_Lxu(), and ~df1b2quadratic_prior().

const int df1b2quadratic_prior::max_num_quadratic_prior =100
static

Definition at line 1958 of file df1b2fun.h.

Referenced by add_to_list().

unsigned int df1b2quadratic_prior::num_active_parameters

Definition at line 1962 of file df1b2fun.h.

Referenced by df1b2quadratic_prior(), get_num_active_parameters(), and operator=().

int df1b2quadratic_prior::num_quadratic_prior =0
static

Definition at line 1957 of file df1b2fun.h.

Referenced by add_to_list(), get_Lxu_contribution(), and get_num_quadratic_prior().

df1b2quadratic_prior * df1b2quadratic_prior::ptr
static
df1b2_init_vector* df1b2quadratic_prior::pu
int df1b2quadratic_prior::xmyindex

Definition at line 1955 of file df1b2fun.h.

Referenced by add_to_list(), and get_myindex().


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