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

#include <df11fun.h>

Public Member Functions

 df1_one_matrix (int rmin, int rmax, int cmin, int cmax)
 Construct matrix of df1_one_variable with dimensions [rmin to rmax] x [cmin to cmax]. More...
 
 df1_one_matrix (const df1_one_matrix &m2)
 
 ~df1_one_matrix ()
 
void deallocate (void)
 Deallocate df1_one_matrix, then set to empty. More...
 
int indexmax (void) const
 
int indexmin (void) const
 
void initialize (void)
 
df1_one_vectoroperator() (int i) const
 
df1_one_variableoperator() (int i, int j) const
 
df1_one_vectoroperator[] (int i) const
 

Private Attributes

int index_max
 
int index_min
 
mat_shapexshape
 
df1_one_vectorv
 

Detailed Description

Definition at line 113 of file df11fun.h.

Constructor & Destructor Documentation

df1_one_matrix::df1_one_matrix ( int  rmin,
int  rmax,
int  cmin,
int  cmax 
)

Construct matrix of df1_one_variable with dimensions [rmin to rmax] x [cmin to cmax].

Parameters
rminlower row index
rmaxupper row index
cminlower column index
cmaxupper column index

Definition at line 214 of file df11fun.cpp.

df1_one_matrix::~df1_one_matrix ( )

Definition at line 167 of file df11fun.cpp.

df1_one_matrix::df1_one_matrix ( const df1_one_matrix m2)

Definition at line 155 of file df11fun.cpp.

Member Function Documentation

void df1_one_matrix::deallocate ( void  )

Deallocate df1_one_matrix, then set to empty.

Definition at line 172 of file df11fun.cpp.

Referenced by ~df1_one_matrix().

int df1_one_matrix::indexmax ( void  ) const
inline

Definition at line 121 of file df11fun.h.

Referenced by choleski_decomp(), first_derivatives(), initialize(), and value().

int df1_one_matrix::indexmin ( void  ) const
inline

Definition at line 120 of file df11fun.h.

Referenced by choleski_decomp(), first_derivatives(), initialize(), and value().

void df1_one_matrix::initialize ( void  )

Definition at line 194 of file df11fun.cpp.

Referenced by choleski_decomp().

df1_one_vector& df1_one_matrix::operator() ( int  i) const
inline

Definition at line 123 of file df11fun.h.

df1_one_variable& df1_one_matrix::operator() ( int  i,
int  j 
) const
inline

Definition at line 131 of file df11fun.h.

df1_one_vector& df1_one_matrix::operator[] ( int  i) const
inline

Definition at line 127 of file df11fun.h.

Member Data Documentation

int df1_one_matrix::index_max
private

Definition at line 116 of file df11fun.h.

Referenced by deallocate(), df1_one_matrix(), and indexmax().

int df1_one_matrix::index_min
private

Definition at line 115 of file df11fun.h.

Referenced by deallocate(), df1_one_matrix(), and indexmin().

mat_shapex* df1_one_matrix::shape
private

Definition at line 117 of file df11fun.h.

Referenced by deallocate(), and df1_one_matrix().

df1_one_vector* df1_one_matrix::v
private

Definition at line 118 of file df11fun.h.

Referenced by deallocate(), df1_one_matrix(), operator()(), and operator[]().


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