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

Derived class of index types for i4_array. More...

#include <fvar.hpp>

Public Member Functions

 i4_index (i4_array &v)
 
virtual int dimension () const
 
virtual int indexmax () const
 
virtual int indexmin () const
 
- Public Member Functions inherited from i4_array
 i4_array (int hsl, int hsu, int sl, int sh, ivector nrl, ivector nrh, ivector ncl, ivector nch)
 
 i4_array (int hsl, int hsu)
 Construct vector of empty i3_array with dimension [hsl to hsu]. More...
 
 i4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, const i3_array &nch)
 Description not yet available. More...
 
 i4_array (const ad_integer &hsl, const ad_integer &hsh, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
 
 i4_array (const i4_array &m2)
 Copy constructor. More...
 
 i4_array (int, int, int, int, int, int, int, int)
 Construct integer array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
 i4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch)
 
 i4_array ()
 Default constructor. More...
 
 ~i4_array ()
 Destructor. More...
 
void allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (const ad_integer &hsl, const ad_integer &hsu, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
 Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (void)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
void allocate (const i4_array &)
 
void allocate (const dvar4_array &)
 
void allocate (int hsl, int hsu)
 Allocate vector of empty i3_array with dimension [hsl to hsu]. More...
 
int colmax (void)
 
int colmax (void) const
 
int colmin (void)
 
int colmin (void) const
 
int colsize ()
 
int colsize () const
 
void deallocate (void)
 Deallocate i4_array memory. More...
 
i3_arrayelem (int i)
 
const i3_arrayelem (int i) const
 
imatrixelem (int i, int j)
 
ivectorelem (int i, int j, int k)
 
int & elem (int i, int j, int k, int l)
 
unsigned int get_ncopies () const
 
int hslicemax () const
 
int hslicemin () const
 
int hslicesize ()
 
int hslicesize () const
 
int indexmax () const
 
int indexmin () const
 
void initialize ()
 Initializes elements of i4_array to zero. More...
 
int operator! (void) const
 
i3_arrayoperator() (int i)
 
imatrixoperator() (int i, int j)
 
ivectoroperator() (int i, int j, int k)
 
int & operator() (int i, int j, int k, int l)
 
const i3_arrayoperator() (int i) const
 
const imatrixoperator() (int i, int j) const
 
const ivectoroperator() (int i, int j, int k) const
 
const int & operator() (int i, int j, int k, int l) const
 
i4_arrayoperator= (const i4_array &)
 
i3_arrayoperator[] (int j)
 
const i3_arrayoperator[] (int i) const
 
int rowmax (void)
 
int rowmax (void) const
 
int rowmin (void)
 
int rowmin (void) const
 
int rowsize ()
 
int rowsize () const
 
void shallow_copy (const i4_array &)
 Shallow copy other data structure pointers. More...
 
int size ()
 
int size () const
 
int slicemax (void)
 
int slicemax (void) const
 
int slicemin (void)
 
int slicemin (void) const
 
int slicesize ()
 
int slicesize () const
 
- Public Member Functions inherited from index_guts
 index_guts ()
 Default constructor. More...
 
 index_guts (const index_guts &ig)
 Copy constructor. More...
 
virtual ~index_guts ()
 Destructor. More...
 
virtual int isinteger () const
 
virtual operator int ()
 

Private Member Functions

virtual index_gutsoperator[] (int i)
 

Friends

class index_type
 

Additional Inherited Members

- Protected Attributes inherited from index_guts
int * ncopies
 

Detailed Description

Derived class of index types for i4_array.

Definition at line 7893 of file fvar.hpp.

Constructor & Destructor Documentation

i4_index::i4_index ( i4_array v)
inline

Definition at line 7900 of file fvar.hpp.

Member Function Documentation

virtual int i4_index::dimension ( ) const
inlinevirtual

Reimplemented from index_guts.

Definition at line 7904 of file fvar.hpp.

virtual int i4_index::indexmax ( void  ) const
inlinevirtual

Implements index_guts.

Definition at line 7912 of file fvar.hpp.

virtual int i4_index::indexmin ( void  ) const
inlinevirtual

Implements index_guts.

Definition at line 7908 of file fvar.hpp.

virtual index_guts* i4_index::operator[] ( int  i)
inlineprivatevirtual

Implements index_guts.

Definition at line 7895 of file fvar.hpp.

Friends And Related Function Documentation

friend class index_type
friend

Definition at line 7917 of file fvar.hpp.


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