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

Description not yet available. More...

#include <fvar.hpp>

Public Member Functions

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

Private Attributes

vector_shapeshape
 
void ** v
 

Detailed Description

Description not yet available.

Parameters

Definition at line 568 of file fvar.hpp.

Constructor & Destructor Documentation

ptr_vector::ptr_vector ( )

Default constructor.

Definition at line 118 of file ptr_vec.cpp.

ptr_vector::ptr_vector ( const ptr_vector t)

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.

ptr_vector::~ptr_vector ( )

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 601 of file fvar.hpp.

Referenced by operator=().

int ptr_vector::indexmax ( void  ) const
inline

Definition at line 585 of file fvar.hpp.

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

int ptr_vector::indexmin ( void  ) const
inline

Definition at line 580 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 605 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 609 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 590 of file fvar.hpp.

Member Data Documentation

vector_shape* ptr_vector::shape
private

Definition at line 571 of file fvar.hpp.

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

void** ptr_vector::v
private

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