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

Description not yet available. More...

#include <df1b2fun.h>

Public Member Functions

 quadratic_prior (void)
 Default constructor. More...
 
 ~quadratic_prior (void)
 Destructor. More...
 
void add_to_list (void)
 Description not yet available. More...
 
void allocate (const dvar_vector &_u, const char *s)
 Description not yet available. More...
 
void allocate (const dvar_vector &_u)
 Description not yet available. More...
 
void allocate (const dvar_matrix &_M, const dvar_vector &_u, const char *s)
 Description not yet available. More...
 
void allocate (const dvar_matrix &_M, const dvar_vector &_u)
 Description not yet available. More...
 
void get_cgradient (dvector, int)
 Description not yet available. More...
 
void get_cHessian (dmatrix, int)
 Description not yet available. More...
 
void get_cHessian (dvar_matrix, int)
 Description not yet available. More...
 
void get_cHessian_from_vHessian (dmatrix, int)
 Description not yet available. More...
 
virtual void get_cM (void)=0
 
dvariable get_function (void)
 Description not yet available. More...
 
dvar_vector get_gradient (void)
 Description not yet available. More...
 
dvar_matrix get_Hessian (void)
 Description not yet available. More...
 
int get_myindex (void)
 
int get_offset (int xs)
 Description not yet available. More...
 
void get_vHessian (dvar_matrix, int)
 Description not yet available. More...
 
void operator= (const dvar_matrix &)
 Description not yet available. More...
 
void operator= (const dmatrix &)
 Description not yet available. More...
 
- Public Member Functions inherited from style_flag_class
virtual void set_old_style_flag (void)=0
 

Static Public Member Functions

static void cleanup_dfpMinv ()
 
static void cleanup_pMinv ()
 
static void get_cgradient_contribution (dvector, int)
 Description not yet available. More...
 
static void get_cHessian_contribution (dmatrix, int)
 Description not yet available. More...
 
static void get_cHessian_contribution_from_vHessian (dmatrix, int)
 Description not yet available. More...
 
static dvar_vector get_gradient_contribution (void)
 
static dvar_matrix get_Hessian_contribution (void)
 
static int get_in_qp_calculations ()
 
static void get_M_calculations (void)
 Description not yet available. More...
 
static int get_num_quadratic_prior (void)
 
static quadratic_priorget_ptr (int i)
 
static dvariable get_quadratic_priors (void)
 Description not yet available. More...
 
static void get_vHessian_contribution (dvar_matrix, int)
 Description not yet available. More...
 

Static Public Attributes

static int in_qp_calculations =0
 
static const int max_num_quadratic_prior =100
 
static int num_quadratic_prior =0
 
static quadratic_priorptr []
 
static int qflag
 

Private Attributes

dvar_matrixdfpMinv
 
dmatrixpMinv
 
dvar_vectorpu
 
int xmyindex
 

Friends

class df1b2quadratic_prior
 

Additional Inherited Members

- Public Attributes inherited from style_flag_class
int old_style_flag
 

Detailed Description

Description not yet available.

Parameters

Definition at line 1893 of file df1b2fun.h.

Constructor & Destructor Documentation

quadratic_prior::quadratic_prior ( void  )

Default constructor.

Definition at line 465 of file quadpri.cpp.

quadratic_prior::~quadratic_prior ( void  )

Destructor.

Definition at line 476 of file quadpri.cpp.

Member Function Documentation

void quadratic_prior::add_to_list ( void  )

Description not yet available.

Parameters

Definition at line 90 of file quadpri.cpp.

Referenced by quadratic_prior().

void quadratic_prior::allocate ( const dvar_vector _u,
const char *  s 
)

Description not yet available.

Parameters

Definition at line 499 of file quadpri.cpp.

Referenced by allocate().

void quadratic_prior::allocate ( const dvar_vector _u)

Description not yet available.

Parameters

Definition at line 508 of file quadpri.cpp.

void quadratic_prior::allocate ( const dvar_matrix _M,
const dvar_vector _u,
const char *  s 
)

Description not yet available.

Parameters

Definition at line 523 of file quadpri.cpp.

void quadratic_prior::allocate ( const dvar_matrix _M,
const dvar_vector _u 
)

Description not yet available.

Parameters

Definition at line 533 of file quadpri.cpp.

static void quadratic_prior::cleanup_dfpMinv ( )
static
static void quadratic_prior::cleanup_pMinv ( )
static
void quadratic_prior::get_cgradient ( dvector  g,
int  xs 
)

Description not yet available.

Parameters

Definition at line 409 of file quadpri.cpp.

Referenced by get_cgradient_contribution().

void quadratic_prior::get_cgradient_contribution ( dvector  g,
int  xs 
)
static
void quadratic_prior::get_cHessian ( dmatrix  H,
int  xsize 
)

Description not yet available.

Parameters

Definition at line 140 of file quadpri.cpp.

Referenced by evaluate_function_with_quadprior(), get_cHessian_contribution(), and get_cHessian_contribution_from_vHessian().

void quadratic_prior::get_cHessian ( dvar_matrix  H,
int  xsize 
)

Description not yet available.

Parameters

Definition at line 201 of file quadpri.cpp.

void quadratic_prior::get_cHessian_contribution ( dmatrix  H,
int  xsize 
)
static
void quadratic_prior::get_cHessian_contribution_from_vHessian ( dmatrix  Hess,
int  xsize 
)
static
void quadratic_prior::get_cHessian_from_vHessian ( dmatrix  H,
int  xs 
)

Description not yet available.

Parameters

Definition at line 337 of file quadpri.cpp.

Referenced by get_cHessian_contribution_from_vHessian().

virtual void quadratic_prior::get_cM ( void  )
pure virtual

Referenced by get_M_calculations().

dvariable quadratic_prior::get_function ( void  )

Description not yet available.

Parameters

Definition at line 110 of file quadpri.cpp.

Referenced by get_quadratic_priors().

dvar_vector quadratic_prior::get_gradient ( void  )

Description not yet available.

Parameters

Definition at line 400 of file quadpri.cpp.

static dvar_vector quadratic_prior::get_gradient_contribution ( void  )
static
dvar_matrix quadratic_prior::get_Hessian ( void  )

Description not yet available.

Parameters

Definition at line 119 of file quadpri.cpp.

static dvar_matrix quadratic_prior::get_Hessian_contribution ( void  )
static
static int quadratic_prior::get_in_qp_calculations ( )
inlinestatic

Definition at line 1915 of file df1b2fun.h.

void quadratic_prior::get_M_calculations ( void  )
static
int quadratic_prior::get_myindex ( void  )
inline

Definition at line 1911 of file df1b2fun.h.

Referenced by get_offset().

static int quadratic_prior::get_num_quadratic_prior ( void  )
inlinestatic
int quadratic_prior::get_offset ( int  xs)

Description not yet available.

Parameters

Definition at line 128 of file quadpri.cpp.

Referenced by get_cgradient(), get_cHessian(), get_cHessian_from_vHessian(), and get_vHessian().

static quadratic_prior* quadratic_prior::get_ptr ( int  i)
inlinestatic

Definition at line 1912 of file df1b2fun.h.

Referenced by evaluate_function_with_quadprior().

dvariable quadratic_prior::get_quadratic_priors ( void  )
static

Description not yet available.

Parameters

Definition at line 544 of file quadpri.cpp.

void quadratic_prior::get_vHessian ( dvar_matrix  H,
int  xsize 
)

Description not yet available.

Parameters

Definition at line 262 of file quadpri.cpp.

Referenced by evaluate_function_with_quadprior(), and get_vHessian_contribution().

void quadratic_prior::get_vHessian_contribution ( dvar_matrix  H,
int  xs 
)
static

Description not yet available.

Parameters

Definition at line 635 of file quadpri.cpp.

void quadratic_prior::operator= ( const dvar_matrix _M)

Description not yet available.

Parameters

Definition at line 687 of file quadpri.cpp.

Referenced by normal_quadratic_prior::operator=(), quadratic_re_penalty::operator=(), and constant_quadratic_re_penalty::operator=().

void quadratic_prior::operator= ( const dmatrix _M)

Description not yet available.

Parameters

Definition at line 790 of file quadpri.cpp.

Friends And Related Function Documentation

friend class df1b2quadratic_prior
friend

Definition at line 1939 of file df1b2fun.h.

Member Data Documentation

dvar_matrix* quadratic_prior::dfpMinv
private

Definition at line 1896 of file df1b2fun.h.

Referenced by get_cHessian_from_vHessian(), get_vHessian(), operator=(), and ~quadratic_prior().

int quadratic_prior::in_qp_calculations =0
static
const int quadratic_prior::max_num_quadratic_prior =100
static

Definition at line 1906 of file df1b2fun.h.

Referenced by add_to_list().

int quadratic_prior::num_quadratic_prior =0
static
dmatrix* quadratic_prior::pMinv
private
quadratic_prior * quadratic_prior::ptr
static
dvar_vector* quadratic_prior::pu
private
int quadratic_prior::qflag
static

Definition at line 1900 of file df1b2fun.h.

int quadratic_prior::xmyindex
private

Definition at line 1898 of file df1b2fun.h.

Referenced by add_to_list(), get_myindex(), and operator=().


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