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

Description not yet available. More...

#include <admodel.h>

Public Member Functions

 data_ivector (void)
 
void allocate (int imin, int imax, const char *="UNNAMED")
 
- Public Member Functions inherited from ivector
 ivector ()
 Default constructor. More...
 
 ivector (const lvector &)
 
 ivector (const dvector &)
 Construct ivector with same dimensions as u. More...
 
 ivector (int ncl, int ncu)
 Allocate vector of integers with dimension [ncl to nch]. More...
 
 ivector (const ad_integer &ncl, const index_type &ncu)
 Description not yet available. More...
 
 ivector (unsigned int sz, long int *x)
 Constructor. More...
 
 ivector (const preivector &pd)
 Description not yet available. More...
 
 ivector (const ivector &t)
 Copy constructor. More...
 
 ~ivector ()
 Default destructor. More...
 
void allocate (const ad_integer &ncl, const index_type &ncu)
 Allocate vector of integers with dimension [_ncl to _nch]. More...
 
void allocate (int ncl, int ncu)
 Allocate vector of integers with dimension [ncl to nch]. More...
 
void allocate (const ivector &iv)
 Description not yet available. More...
 
void allocate (const dvector &dv)
 Description not yet available. More...
 
void allocate (const char *)
 
void allocate ()
 Does not allocate, but initializes class members. More...
 
int allocated () const
 
void deallocate ()
 Deallocate i3_array memory. More...
 
int & elem (int i)
 
const int & elem (int i) const
 
void fill (const char *s)
 Description not yet available. More...
 
void fill_multinomial (const int &seed, const dvector &p)
 Description not yet available. More...
 
void fill_multinomial (const random_number_generator &rng, const dvector &p)
 Description not yet available. More...
 
void fill_seqadd (int, int)
 Fills ivector elements with values starting from base and incremented by offset. More...
 
unsigned int get_ncopies () const
 
int * get_v () const
 
int indexmax () const
 
int indexmin () const
 
void initialize (void)
 Description not yet available. More...
 
int operator! () const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
ivector operator() (int lb, int ub)
 
ivector operator() (const ivector &u)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
ivectoroperator++ ()
 
ivectoroperator+= (const ivector &t)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
ivectoroperator+= (int t)
 Add value to each element of ivec. More...
 
ivectoroperator-- ()
 
ivectoroperator= (const ivector &t)
 Description not yet available. More...
 
ivectoroperator= (int t)
 Assigns value to all elements of ivector. More...
 
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. More...
 
void read_from (const uistream &s)
 Read values from input into ivector. More...
 
void reallocate (double size)
 Reallocate size of array. More...
 
void safe_allocate (int ncl, int ncu)
 Description not yet available. More...
 
void safe_deallocate ()
 Safely deallocates memory by reporting if shallow copies are still in scope. More...
 
void save_ivector_position () const
 Description not yet available. More...
 
void save_ivector_value () const
 Saves the size, address, and value information for a ivector. More...
 
void shallow_copy (const ivector &t)
 Shallow copy other data structure pointers. More...
 
ivectorshift (int min)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
unsigned int size () const
 
ivector sub (int lb, int ub)
 
void write_on (const ostream &s) const
 Writes all the elements to the ostream _s. More...
 
void write_on (const uostream &s) const
 Write ivector values to output. More...
 
- Public Member Functions inherited from model_name_tag
 model_name_tag (void)
 
void allocate (const char *s)
 
const char * get_name (void)
 
label_class label (void)
 

Additional Inherited Members

- Protected Member Functions inherited from named_ivector
 named_ivector (void)
 
void allocate (int mmin, int mmax, const char *s)
 
- Protected Attributes inherited from ivector
int index_max
 
int index_min
 
vector_shapexshape
 
int * v
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Description not yet available.

Parameters

Definition at line 1792 of file admodel.h.

Constructor & Destructor Documentation

data_ivector::data_ivector ( void  )
inline

Definition at line 1795 of file admodel.h.

Member Function Documentation

void data_ivector::allocate ( int  imin,
int  imax,
const char *  s = "UNNAMED" 
)

Definition at line 1256 of file model.cpp.


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