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

Description not yet available. More...

#include <fvar.hpp>

Public Member Functions

 ivector (const lvector &)
 ivector (void)
 Description not yet available.
 ivector (const dvector &)
 Description not yet available.
 ivector (int ncl, int ncu)
 Description not yet available.
 ivector (const ad_integer &ncl, const index_type &ncu)
 Description not yet available.
 ivector (unsigned int sz, long int *x)
 Description not yet available.
 ivector (const preivector &pd)
 Description not yet available.
 ivector (const ivector &t)
 Description not yet available.
 ~ivector ()
 Destructor.
void allocate (const ad_integer &ncl, const index_type &ncu)
 Description not yet available.
void allocate (int ncl, int ncu)
 Description not yet available.
void allocate (const ivector &iv)
 Description not yet available.
void allocate (const dvector &dv)
 Description not yet available.
void allocate (const char *)
void allocate (void)
 Description not yet available.
int allocated (void) const
void deallocate (void)
 Description not yet available.
int & elem (int i)
const int & elem (int i) const
void fill (const char *s)
 Description not yet available.
void fill_multinomial (const int &seed, const dvector &p)
 Description not yet available.
void fill_multinomial (const random_number_generator &rng, const dvector &p)
 Description not yet available.
void fill_seqadd (int, int)
 Description not yet available.
int * get_v (void) const
int indexmax () const
int indexmin () const
void initialize (void)
 Description not yet available.
int operator! (void) const
int & operator() (int i)
const int & operator() (int i) const
ivector operator() (int lb, int ub)
ivector operator() (const ivector &u)
 Description not yet available.
ivectoroperator++ (void)
ivectoroperator+= (const ivector &t)
 Description not yet available.
ivectoroperator+= (int t)
 Description not yet available.
ivectoroperator-- (void)
ivectoroperator= (const ivector &t)
 Description not yet available.
ivectoroperator= (int t)
 Description not yet available.
ivectoroperator= (const lvector &t)
int & operator[] (int i)
const int & operator[] (int i) const
void read_from (const istream &s)
 Reads all the elements from istream _s.
void read_from (const uistream &s)
 Description not yet available.
void reallocate (double size)
 Description not yet available.
void safe_allocate (int ncl, int ncu)
 Description not yet available.
void safe_deallocate (void)
 Description not yet available.
void save_ivector_position (void) const
 Description not yet available.
void save_ivector_value (void) const
 Saves the size, address, and value information for a ivector.
void shallow_copy (const ivector &t)
 Description not yet available.
ivectorshift (int min)
 Description not yet available.
int size () const
ivector sub (int lb, int ub)
void write_on (const ostream &s) const
 Writes all the elements to the ostream _s.
void write_on (const uostream &s) const
 Description not yet available.

Protected Attributes

int index_max
int index_min
vector_shapexshape
int * v

Friends

class i3_array
class imatrix
class vector_index

Detailed Description

Description not yet available.

Parameters:

Definition at line 659 of file fvar.hpp.


Constructor & Destructor Documentation

ivector::ivector ( const lvector )
ivector::ivector ( void  )

Description not yet available.

Parameters:

Definition at line 232 of file ivector.cpp.

Referenced by data_ivector::allocate(), and fill().

ivector::ivector ( const dvector u)

Description not yet available.

Parameters:

Definition at line 210 of file ivector.cpp.

ivector::ivector ( int  ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 223 of file ivector.cpp.

ivector::ivector ( const ad_integer ncl,
const index_type nch 
)

Description not yet available.

Parameters:

Definition at line 502 of file indextyp.cpp.

ivector::ivector ( unsigned int  sz,
long int *  x 
)

Description not yet available.

Parameters:

Definition at line 195 of file ivector.cpp.

Destructor.

Definition at line 30 of file ivector.cpp.

ivector::ivector ( const preivector pdv)

Description not yet available.

Parameters:

Definition at line 311 of file ivector.cpp.

ivector::ivector ( const ivector t)

Description not yet available.

Parameters:

Definition at line 111 of file ivector.cpp.


Member Function Documentation

void ivector::allocate ( const ad_integer _ncl,
const index_type _nch 
)
void ivector::allocate ( int  ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 241 of file ivector.cpp.

void ivector::allocate ( const ivector dv)

Description not yet available.

Parameters:

Definition at line 290 of file ivector.cpp.

void ivector::allocate ( const dvector dv)

Description not yet available.

Parameters:

Definition at line 281 of file ivector.cpp.

void ivector::allocate ( const char *  )
void ivector::allocate ( void  )

Description not yet available.

Parameters:

Definition at line 299 of file ivector.cpp.

Referenced by named_ivector::allocate(), allocate(), data_ivector::allocate(), ivector(), reallocate(), and safe_allocate().

int ivector::allocated ( void  ) const [inline]

Definition at line 668 of file fvar.hpp.

Referenced by operator=(), reallocate(), and safe_allocate().

void ivector::deallocate ( void  )

Description not yet available.

Parameters:

Definition at line 91 of file ivector.cpp.

Referenced by reallocate(), safe_deallocate(), and ~ivector().

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

Definition at line 699 of file fvar.hpp.

void ivector::fill ( const char *  s)

Description not yet available.

Parameters:

Definition at line 17 of file ivec4.cpp.

void ivector::fill_multinomial ( const int &  seed,
const dvector p 
)

Description not yet available.

Parameters:

Definition at line 51 of file dvect11.cpp.

void ivector::fill_multinomial ( const random_number_generator rng,
const dvector p 
)

Description not yet available.

Parameters:

Definition at line 52 of file dvect25.cpp.

void ivector::fill_seqadd ( int  base,
int  offset 
)
int* ivector::get_v ( void  ) const [inline]

Definition at line 718 of file fvar.hpp.

Referenced by ivector_position::ivector_position().

int ivector::indexmax ( void  ) const [inline]

Reimplemented in vector_index.

Definition at line 709 of file fvar.hpp.

Referenced by factor::allocate(), allocate(), dvar_matrix::allocate(), dmatrix::allocate(), imatrix::allocate(), d3_array::allocate(), dvar3_array::allocate(), lmatrix::allocate(), laplace_approximation_calculator::block_diagonal_calculations(), laplace_approximation_calculator::build_up_nested_shape(), laplace_approximation_calculator::check_hessian_type(), laplace_approximation_calculator::check_hessian_type2(), check_order(), laplace_approximation_calculator::check_sparse_matrix_structure(), clean(), common(), count_factor(), laplace_approximation_calculator::default_calculations_check_derivatives(), dfcholeski_sparse(), dmatrix::dmatrix(), dvector::dvector(), fill(), fill_multinomial(), fill_seqadd(), df1b2quadratic_prior::get_Lxu(), laplace_approximation_calculator::get_newton_raphson_info_banded(), multi_index::get_offset(), imatrix::imatrix(), initialize(), ivector(), ivector_check(), ivector_position::ivector_position(), laplace_approximation_calculator::laplace_approximation_calculator(), lmatrix::lmatrix(), lvector::lvector(), max(), min(), norm2(), operator()(), df1b2vector::operator()(), dvector::operator()(), dvar_vector::operator()(), dmatrix::operator()(), operator+(), multi_index::operator++(), operator+=(), operator-(), operator=(), df1b2quadratic_prior::operator=(), cifstream::operator>>(), pow(), read_from(), reallocate(), save_ivector_value(), save_mcmc_for_gui1(), sort(), sum(), tmpxchol1(), nested_calls_shape::trim(), value(), write_on(), and xxxv().

int ivector::indexmin ( void  ) const [inline]
void ivector::initialize ( void  )
int ivector::operator! ( void  ) const [inline]

Definition at line 690 of file fvar.hpp.

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

Definition at line 772 of file fvar.hpp.

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

Definition at line 786 of file fvar.hpp.

ivector ivector::operator() ( int  lb,
int  ub 
) [inline]

Definition at line 799 of file fvar.hpp.

ivector ivector::operator() ( const ivector u)

Description not yet available.

Parameters:

Definition at line 17 of file ivec3.cpp.

ivector& ivector::operator++ ( void  ) [inline]

Definition at line 682 of file fvar.hpp.

ivector & ivector::operator+= ( const ivector j)

Description not yet available.

Parameters:

Definition at line 17 of file ivec9.cpp.

ivector & ivector::operator+= ( int  j)

Description not yet available.

Parameters:

Definition at line 37 of file ivec9.cpp.

ivector& ivector::operator-- ( void  ) [inline]

Definition at line 673 of file fvar.hpp.

ivector & ivector::operator= ( const ivector t)

Description not yet available.

Parameters:

Definition at line 151 of file ivector.cpp.

ivector & ivector::operator= ( int  u)

Description not yet available.

Parameters:

Definition at line 182 of file ivector.cpp.

ivector& ivector::operator= ( const lvector t)
int& ivector::operator[] ( int  i) [inline]

Reimplemented in vector_index.

Definition at line 768 of file fvar.hpp.

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

Definition at line 782 of file fvar.hpp.

void ivector::read_from ( const istream &  s)

Reads all the elements from istream _s.

Definition at line 93 of file ivect_io.cpp.

Referenced by operator>>().

void ivector::read_from ( const uistream _s)

Description not yet available.

Parameters:

Definition at line 53 of file ivec_io1.cpp.

void ivector::reallocate ( double  s)

Description not yet available.

Parameters:

Definition at line 17 of file ivect11.cpp.

Referenced by cs_multiply().

void ivector::safe_allocate ( int  ncl,
int  nch 
)
void ivector::safe_deallocate ( void  )
void ivector::save_ivector_position ( void  ) const

Description not yet available.

Parameters:

Definition at line 164 of file cmpdif3.cpp.

Referenced by det(), inv(), ln_det(), dvar_vector::operator()(), and solve().

void ivector::save_ivector_value ( void  ) const

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

Definition at line 118 of file cmpdif4.cpp.

Referenced by det(), inv(), ln_det(), dvar_vector::operator()(), and solve().

void ivector::shallow_copy ( const ivector t)

Description not yet available.

Parameters:

Definition at line 131 of file ivector.cpp.

Referenced by operator=().

ivector & ivector::shift ( int  min)

Description not yet available.

Parameters:

Definition at line 17 of file ivec.cpp.

int ivector::size ( ) const [inline]

Definition at line 714 of file fvar.hpp.

Referenced by sort().

ivector ivector::sub ( int  lb,
int  ub 
) [inline]

Definition at line 795 of file fvar.hpp.

void ivector::write_on ( const ostream &  s) const

Writes all the elements to the ostream _s.

Definition at line 42 of file ivect_io.cpp.

Referenced by operator<<().

void ivector::write_on ( const uostream _s) const

Description not yet available.

Parameters:

Definition at line 78 of file ivec_io1.cpp.


Friends And Related Function Documentation

friend class i3_array [friend]

Definition at line 816 of file fvar.hpp.

friend class imatrix [friend]

Definition at line 815 of file fvar.hpp.

friend class vector_index [friend]

Definition at line 689 of file fvar.hpp.


Member Data Documentation

int ivector::index_max [protected]
int ivector::index_min [protected]
int* ivector::v [protected]

List of all members.


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