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

Description not yet available. More...

#include <fvar.hpp>

Public Member Functions

 ptr_vector ()
 Default constructor.
 ptr_vector (const ptr_vector &t)
 Copy constructor.
 ptr_vector (int ncl, int ncu)
 Allocate array [ncl,...,nch].
 ~ptr_vector ()
 Destructor.
void allocate (int, int)
 Allocate array [ncl,...,nch].
void *& elem (int i)
int indexmax () const
int indexmin () const
void initialize ()
 Initialize elements in pointer array to null.
int operator! (void) const
void *& operator() (int i)
 Description not yet available.
int operator() (void) const
ptr_vectoroperator= (const ptr_vector &t)
 Copy values from _t to this.
void *& operator[] (int i)
 Description not yet available.
void shift (int min)
int size () const

Private Attributes

vector_shapeshape
void ** v

Detailed Description

Description not yet available.

Parameters:

Definition at line 530 of file fvar.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 118 of file ptr_vec.cpp.

Copy constructor.

Definition at line 72 of file ptr_vec.cpp.

ptr_vector::ptr_vector ( int  ncl,
int  nch 
)

Allocate array [ncl,...,nch].

Parameters:
ncllower index
nchhigher index

Definition at line 111 of file ptr_vec.cpp.

Destructor.

Definition at line 39 of file ptr_vec.cpp.


Member Function Documentation

void ptr_vector::allocate ( int  ncl,
int  nch 
)

Allocate array [ncl,...,nch].

ncl should be less than nch.

Parameters:
ncllower index
nchhigher index

Definition at line 131 of file ptr_vec.cpp.

Referenced by ptr_vector().

void*& ptr_vector::elem ( int  i) [inline]

Definition at line 563 of file fvar.hpp.

Referenced by operator=().

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

Definition at line 547 of file fvar.hpp.

Referenced by initialize(), operator()(), operator=(), and operator[]().

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

Definition at line 542 of file fvar.hpp.

Referenced by allocate(), initialize(), operator()(), operator=(), operator[](), and ~ptr_vector().

void ptr_vector::initialize ( void  )

Initialize elements in pointer array to null.

Definition at line 154 of file ptr_vec.cpp.

Referenced by allocate(), and dependent_variables_information::dependent_variables_information().

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

Definition at line 567 of file fvar.hpp.

void *& ptr_vector::operator() ( int  i)

Description not yet available.

Parameters:

Definition at line 184 of file ptr_vec.cpp.

int ptr_vector::operator() ( void  ) const [inline]

Definition at line 571 of file fvar.hpp.

ptr_vector & ptr_vector::operator= ( const ptr_vector _t)

Copy values from _t to this.

_t and this indexes should be the same.

Parameters:
_tvalues to copy

Definition at line 87 of file ptr_vec.cpp.

void *& ptr_vector::operator[] ( int  i)

Description not yet available.

Parameters:

Definition at line 165 of file ptr_vec.cpp.

void ptr_vector::shift ( int  min)
int ptr_vector::size ( ) const [inline]

Definition at line 552 of file fvar.hpp.


Member Data Documentation

Definition at line 533 of file fvar.hpp.

Referenced by allocate(), indexmax(), indexmin(), operator!(), operator()(), ptr_vector(), size(), and ~ptr_vector().

void** ptr_vector::v [private]

List of all members.


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