ivector Class Reference

#include <fvar.hpp>

Inheritance diagram for ivector:

Inheritance graph
[legend]
Collaboration diagram for ivector:

Collaboration graph
[legend]

List of all members.

Public Member Functions

int allocated (void) const
ivectoroperator-- (void)
void reallocate (double size)
ivectoroperator++ (void)
int operator! (void) const
int & elem (int i)
const int & elem (int i) const
int indexmin () const
int indexmax () const
int size () const
int * get_v (void) const
void shift (int min)
 ivector (const lvector &)
 ivector (void)
 ivector (const dvector &)
void fill (const char *s)
void fill_seqadd (int, int)
void fill_multinomial (const int &seed, const dvector &p)
void fill_multinomial (const random_number_generator &rng, const dvector &p)
 ivector (int ncl, int ncu)
 ivector (const ad_integer &ncl, const index_type &ncu)
void allocate (const ad_integer &ncl, const index_type &ncu)
 ivector (unsigned int sz, long int *x)
void safe_allocate (int ncl, int ncu)
void allocate (int ncl, int ncu)
void allocate (const ivector &iv)
void allocate (const dvector &dv)
void allocate (const char *)
void allocate (void)
void deallocate (void)
void safe_deallocate (void)
 ~ivector ()
void save_ivector_position (void) const
void save_ivector_value (void) const
void write_on (const ostream &s) const
void read_from (const istream &s)
void write_on (const uostream &s) const
void read_from (const uistream &s)
int & operator[] (int i)
int & operator() (int i)
const int & operator[] (int i) const
const int & operator() (int i) const
ivector sub (int lb, int ub)
ivector operator() (int lb, int ub)
 ivector (const preivector &pd)
ivector operator() (const ivector &u)
 ivector (const ivector &t)
void shallow_copy (const ivector &t)
ivectoroperator= (const ivector &t)
ivectoroperator= (int t)
ivectoroperator= (const lvector &t)
void initialize (void)
ivectoroperator+= (const ivector &t)
ivectoroperator+= (int t)

Protected Attributes

int index_min
int index_max
int * v
vector_shapexshape

Friends

class vector_index
class imatrix
class i3_array


Constructor & Destructor Documentation

ivector::ivector ( const lvector  ) 

ivector::ivector ( void   ) 

ivector::ivector ( const dvector  ) 

ivector::ivector ( int  ncl,
int  ncu 
)

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

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

ivector::~ivector (  ) 

ivector::ivector ( const preivector pd  ) 

ivector::ivector ( const ivector t  ) 


Member Function Documentation

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

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

void ivector::reallocate ( double  size  ) 

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

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

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

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

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

Reimplemented in vector_index.

Referenced by vector_index::indexmin().

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

Reimplemented in vector_index.

Referenced by vector_index::indexmax().

int ivector::size (  )  const [inline]

int* ivector::get_v ( void   )  const [inline]

void ivector::shift ( int  min  ) 

void ivector::fill ( const char *  s  ) 

void ivector::fill_seqadd ( int  ,
int   
)

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

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

void ivector::allocate ( const ad_integer ncl,
const index_type ncu 
)

void ivector::safe_allocate ( int  ncl,
int  ncu 
)

void ivector::allocate ( int  ncl,
int  ncu 
)

void ivector::allocate ( const ivector iv  ) 

void ivector::allocate ( const dvector dv  ) 

void ivector::allocate ( const char *   ) 

void ivector::allocate ( void   ) 

void ivector::deallocate ( void   ) 

void ivector::safe_deallocate ( void   ) 

void ivector::save_ivector_position ( void   )  const

void ivector::save_ivector_value ( void   )  const

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

void ivector::read_from ( const istream &  s  ) 

void ivector::write_on ( const uostream s  )  const

void ivector::read_from ( const uistream s  ) 

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

Reimplemented in vector_index.

int& ivector::operator() ( int  i  ) 

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

const int& ivector::operator() ( int  i  )  const

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

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

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

void ivector::shallow_copy ( const ivector t  ) 

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

ivector& ivector::operator= ( int  t  ) 

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

void ivector::initialize ( void   ) 

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

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


Friends And Related Function Documentation

friend class vector_index [friend]

friend class imatrix [friend]

friend class i3_array [friend]


Member Data Documentation

int ivector::index_min [protected]

Referenced by indexmin(), operator++(), operator--(), and size().

int ivector::index_max [protected]

Referenced by indexmax(), operator++(), operator--(), and size().

int* ivector::v [protected]

Referenced by elem(), get_v(), operator++(), and operator--().

Referenced by allocated(), and operator!().


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

Generated on Tue Aug 26 14:50:53 2008 for AUTODIF Library by  doxygen 1.5.6