ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Friends
df1b2quadratic_prior Class Reference

Description not yet available. More...

#include <df1b2fun.h>

Public Member Functions

 df1b2quadratic_prior (void)
 Default constructor.
 ~df1b2quadratic_prior (void)
 Destructor.
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 &)

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

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 1913 of file df1b2fun.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 92 of file fquadpri.cpp.

Destructor.

Definition at line 105 of file fquadpri.cpp.


Member Function Documentation

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().

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 1945 of file df1b2fun.h.

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().

int df1b2quadratic_prior::get_myindex ( void  ) [inline]

Definition at line 1930 of file df1b2fun.h.

unsigned int df1b2quadratic_prior::get_num_active_parameters ( void  ) [inline]

Definition at line 1929 of file df1b2fun.h.

Referenced by evaluate_function_with_quadprior().

static int df1b2quadratic_prior::get_num_quadratic_prior ( void  ) [inline, static]
static df1b2quadratic_prior* df1b2quadratic_prior::get_ptr ( int  i) [inline, static]

Definition at line 1927 of file df1b2fun.h.

Referenced by evaluate_function_with_quadprior().

void df1b2quadratic_prior::operator= ( const df1b2matrix M)

Reimplemented in df1b2quadratic_re_penalty, and normal_df1b2quadratic_prior.

Definition at line 149 of file fquadpri.cpp.

void df1b2quadratic_prior::operator= ( const dmatrix M)

Reimplemented in constant_df1b2quadratic_re_penalty, and df1b2quadratic_re_penalty.

Definition at line 310 of file fquadpri.cpp.


Friends And Related Function Documentation

friend class df1b2_parameters [friend]

Definition at line 1957 of file df1b2fun.h.

friend class quadratic_prior [friend]

Definition at line 1956 of file df1b2fun.h.


Member Data Documentation

Definition at line 1917 of file df1b2fun.h.

Definition at line 1915 of file df1b2fun.h.

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

Definition at line 1919 of file df1b2fun.h.

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

Definition at line 1916 of file df1b2fun.h.

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

Definition at line 1924 of file df1b2fun.h.

Referenced by add_to_list().

Definition at line 1928 of file df1b2fun.h.

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

Definition at line 1923 of file df1b2fun.h.

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

Definition at line 1921 of file df1b2fun.h.

Referenced by add_to_list(), and get_myindex().

List of all members.


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