ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Protected Attributes | Friends
imatrix Class Reference

Description not yet available. More...

#include <imatrix.h>

Public Member Functions

 imatrix (int, int)
 Description not yet available.
 imatrix (int nrl, int nrh, const ivector &iv)
 Description not yet available.
 imatrix (int, int, int, int)
 Description not yet available.
 imatrix (int, int, int, const ivector &)
 Description not yet available.
 imatrix (int, int, const ivector &, const ivector &)
 Description not yet available.
 imatrix (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Description not yet available.
 imatrix (const imatrix &)
 Description not yet available.
 imatrix (const imatrix_position &)
 Description not yet available.
 imatrix (void)
 Description not yet available.
 ~imatrix ()
 Description not yet available.
void allocate (int nrl, int nrh, const ivector &iv)
 Description not yet available.
void allocate (void)
 Description not yet available.
void allocate (const imatrix &dm)
 Description not yet available.
void allocate (int nrl, int nrh, int ncl, int nch)
 Description not yet available.
void allocate (int nrl, int nrh)
 Description not yet available.
void allocate (int nrl, int nrh, int ncl, const ivector &nch)
 Description not yet available.
void allocate (int nrl, int nrh, const ivector &ncl, const ivector &nch)
 Description not yet available.
void allocate (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Description not yet available.
void colfill_seqadd (int, int, int)
 Fills column of a matrix with a sequence of the form base, base+offset, base+2*offset,...
int colmax (void) const
int colmin (void) const
int colsize () const
void deallocate ()
 Description not yet available.
ivectorelem (int i)
int & elem (int i, int j)
const ivectorelem (int i) const
const int & elem (int i, int j) const
void fill_seqadd (int, int)
 Description not yet available.
int indexmax (void) const
int indexmin (void) const
void initialize (void)
 Description not yet available.
bool is_valid_row (const int i) const
 Check index i is in matrix row bounds [index_min, index_max].
int operator! (void) const
ivectoroperator() (int)
int & operator() (int, int)
const ivectoroperator() (int) const
const int & operator() (int, int) const
imatrixoperator= (const imatrix &t)
 Description not yet available.
imatrixoperator= (const int)
 Description not yet available.
ivectoroperator[] (int)
const ivectoroperator[] (int) const
void read_from (const istream &)
void read_from (const uistream &)
imatrix_position restore_imatrix_position (void)
imatrix restore_imatrix_value (const imatrix_position &mpos)
int rowmax (void) const
int rowmin (void) const
void rowshift (int min)
 Description not yet available.
int rowsize () const
void save_imatrix_position (void)
 Saves the size and address information for a imatrix.
void save_imatrix_value (void)
 Saves the size, address, and value information for a imatrix.
void shallow_copy (const imatrix &)
 Description not yet available.
imatrix sub (int, int)
 Description not yet available.
void write_on (const ostream &) const
void write_on (const uostream &) const

Protected Attributes

int index_max
int index_min
ivectorm
mat_shapexshape

Friends

char * fform (const char *, const dmatrix &)
class i3_array

Detailed Description

Description not yet available.

Parameters:

Definition at line 69 of file imatrix.h.


Constructor & Destructor Documentation

imatrix::imatrix ( int  nrl,
int  nrh 
)

Description not yet available.

Parameters:

Definition at line 31 of file imat.cpp.

imatrix::imatrix ( int  nrl,
int  nrh,
const ivector iv 
)

Description not yet available.

Parameters:

Definition at line 80 of file imat.cpp.

imatrix::imatrix ( int  nrl,
int  nrh,
int  ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 61 of file imat.cpp.

imatrix::imatrix ( int  nrl,
int  nrh,
int  ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 309 of file imat.cpp.

imatrix::imatrix ( int  nrl,
int  nrh,
const ivector ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 300 of file imat.cpp.

imatrix::imatrix ( const ad_integer nrl,
const ad_integer nrh,
const index_type ncl,
const index_type nch 
)

Description not yet available.

Parameters:

Definition at line 70 of file imat.cpp.

imatrix::imatrix ( const imatrix m2)

Description not yet available.

Parameters:

Definition at line 258 of file imat.cpp.

Description not yet available.

Parameters:

Definition at line 17 of file imat_a.cpp.

imatrix::imatrix ( void  )

Description not yet available.

Parameters:

Definition at line 318 of file imat.cpp.

Referenced by data_imatrix::allocate().

Description not yet available.

Parameters:

Definition at line 327 of file imat.cpp.


Member Function Documentation

void imatrix::allocate ( int  nrl,
int  nrh,
const ivector iv 
)

Description not yet available.

Parameters:

Definition at line 89 of file imat.cpp.

Referenced by i3_array::allocate(), dvar_compressed_triplet::allocate(), dcompressed_triplet::allocate(), and dfcholeski_sparse().

void imatrix::allocate ( void  )

Description not yet available.

Parameters:

Definition at line 167 of file imat.cpp.

Referenced by allocate(), named_imatrix::allocate(), data_imatrix::allocate(), and imatrix().

void imatrix::allocate ( const imatrix dm)

Description not yet available.

Parameters:

Definition at line 17 of file imat6.cpp.

void imatrix::allocate ( int  nrl,
int  nrh,
int  ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 132 of file imat.cpp.

void imatrix::allocate ( int  nrl,
int  nrh 
)

Description not yet available.

Parameters:

Definition at line 359 of file imat.cpp.

void imatrix::allocate ( int  nrl,
int  nrh,
int  ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 219 of file imat.cpp.

void imatrix::allocate ( int  nrl,
int  nrh,
const ivector ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 179 of file imat.cpp.

void imatrix::allocate ( const ad_integer nrl,
const ad_integer nrh,
const index_type ncl,
const index_type nch 
)

Description not yet available.

Parameters:

Definition at line 375 of file indextyp.cpp.

void imatrix::colfill_seqadd ( int  j,
int  base,
int  offset 
)

Fills column of a matrix with a sequence of the form base, base+offset, base+2*offset,...

Author:
Dave Fournier
Date:
2008-03-25
Parameters:
jthe column
baseis the starting value
offsetbase+offset,base+offset*2,...,
Returns:
imatrix with those value

Definition at line 53 of file ranfill1.cpp.

int imatrix::colmax ( void  ) const [inline]

Definition at line 149 of file imatrix.h.

Referenced by colsize(), colsum(), column(), diagonal(), operator*(), operator=(), lmatrix::operator=(), and trans().

int imatrix::colmin ( void  ) const [inline]

Definition at line 145 of file imatrix.h.

Referenced by colsize(), colsum(), column(), diagonal(), operator*(), operator=(), lmatrix::operator=(), and trans().

int imatrix::colsize ( void  ) const [inline]

Definition at line 159 of file imatrix.h.

void imatrix::deallocate ( void  )

Description not yet available.

Parameters:

Definition at line 336 of file imat.cpp.

Referenced by dvar_compressed_triplet::deallocate(), dcompressed_triplet::deallocate(), and ~imatrix().

ivector& imatrix::elem ( int  i) [inline]

Definition at line 164 of file imatrix.h.

int& imatrix::elem ( int  i,
int  j 
) [inline]

Definition at line 168 of file imatrix.h.

const ivector& imatrix::elem ( int  i) const [inline]

Definition at line 172 of file imatrix.h.

const int& imatrix::elem ( int  i,
int  j 
) const [inline]

Definition at line 176 of file imatrix.h.

void imatrix::fill_seqadd ( int  i2,
int  j 
)

Description not yet available.

Parameters:

Definition at line 57 of file imat8.cpp.

int imatrix::indexmax ( void  ) const [inline]
int imatrix::indexmin ( void  ) const [inline]
void imatrix::initialize ( void  )
bool imatrix::is_valid_row ( const int  i) const

Check index i is in matrix row bounds [index_min, index_max].

Parameters:
irow index

Definition at line 19 of file imat1.cpp.

int imatrix::operator! ( void  ) const [inline]

Definition at line 78 of file imatrix.h.

ivector & imatrix::operator() ( int  i) [inline]

Definition at line 196 of file imatrix.h.

int & imatrix::operator() ( int  i,
int  j 
) [inline]

Definition at line 200 of file imatrix.h.

const ivector & imatrix::operator() ( int  i) const [inline]

Definition at line 211 of file imatrix.h.

const int & imatrix::operator() ( int  i,
int  j 
) const [inline]

Definition at line 215 of file imatrix.h.

imatrix & imatrix::operator= ( const imatrix m1)

Description not yet available.

Parameters:

Reimplemented in named_imatrix.

Definition at line 17 of file imat5.cpp.

imatrix & imatrix::operator= ( const int  n)

Description not yet available.

Parameters:

Definition at line 63 of file imat5.cpp.

ivector & imatrix::operator[] ( int  i) [inline]

Reimplemented in matrix_index.

Definition at line 204 of file imatrix.h.

const ivector & imatrix::operator[] ( int  i) const [inline]

Definition at line 219 of file imatrix.h.

void imatrix::read_from ( const istream &  )
void imatrix::read_from ( const uistream )
int imatrix::rowmax ( void  ) const [inline]
int imatrix::rowmin ( void  ) const [inline]
void imatrix::rowshift ( int  min)

Description not yet available.

Parameters:

Definition at line 20 of file imat.cpp.

int imatrix::rowsize ( void  ) const [inline]

Definition at line 154 of file imatrix.h.

Referenced by allocate(), and imatrix().

Saves the size and address information for a imatrix.

Definition at line 31 of file cmpdif9.cpp.

Referenced by empirical_covariance().

void imatrix::save_imatrix_value ( void  )

Saves the size, address, and value information for a imatrix.

Definition at line 20 of file cmpdif9.cpp.

Referenced by empirical_covariance().

void imatrix::shallow_copy ( const imatrix m2)

Description not yet available.

Parameters:

Definition at line 279 of file imat.cpp.

Referenced by sub().

imatrix imatrix::sub ( int  nrl,
int  nrh 
)

Description not yet available.

Parameters:

Definition at line 40 of file imat.cpp.

Referenced by laplace_approximation_calculator::check_hessian_type().

void imatrix::write_on ( const ostream &  ) const
void imatrix::write_on ( const uostream ) const

Friends And Related Function Documentation

char* fform ( const char *  ,
const dmatrix  
) [friend]
friend class i3_array [friend]

Definition at line 192 of file imatrix.h.


Member Data Documentation

int imatrix::index_max [protected]

Definition at line 73 of file imatrix.h.

Referenced by allocate(), imatrix(), indexmax(), is_valid_row(), operator=(), rowmax(), rowshift(), and shallow_copy().

int imatrix::index_min [protected]

Definition at line 72 of file imatrix.h.

Referenced by allocate(), imatrix(), indexmin(), is_valid_row(), operator=(), rowmin(), rowshift(), and shallow_copy().

ivector* imatrix::m [protected]
mat_shapex* imatrix::shape [protected]

List of all members.


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