ADMB Documentation  11.2.2828
 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)
 ~df1b2quadratic_prior (void)
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)
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 1893 of file df1b2fun.h.


Constructor & Destructor Documentation

Definition at line 90 of file fquadpri.cpp.

Definition at line 99 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 111 of file fquadpri.cpp.

Referenced by allocate().

Definition at line 121 of file fquadpri.cpp.

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

Definition at line 116 of file fquadpri.cpp.

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

Definition at line 125 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::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 1910 of file df1b2fun.h.

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

Definition at line 1909 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 1907 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 131 of file fquadpri.cpp.

void df1b2quadratic_prior::operator= ( const dmatrix M)

Reimplemented in constant_df1b2quadratic_re_penalty, and df1b2quadratic_re_penalty.

Definition at line 292 of file fquadpri.cpp.


Friends And Related Function Documentation

friend class df1b2_parameters [friend]

Definition at line 1936 of file df1b2fun.h.

friend class quadratic_prior [friend]

Definition at line 1935 of file df1b2fun.h.


Member Data Documentation

Definition at line 1897 of file df1b2fun.h.

Definition at line 1895 of file df1b2fun.h.

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

Definition at line 1899 of file df1b2fun.h.

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

Definition at line 1896 of file df1b2fun.h.

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

Definition at line 1904 of file df1b2fun.h.

Referenced by add_to_list().

Definition at line 1908 of file df1b2fun.h.

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

Definition at line 1903 of file df1b2fun.h.

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

Definition at line 1901 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: