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
df1_one_vector Class Reference

#include <df11fun.h>

Public Member Functions

 df1_one_vector (int min, int max)
 
 df1_one_vector (void)
 Default constructor. More...
 
 df1_one_vector (const df1_one_vector &m2)
 Copy constructor. More...
 
 ~df1_one_vector ()
 Destructor. More...
 
void allocate (void)
 Reinitialize df1_one_vector to empty. More...
 
void allocate (int min, int max)
 Allocate vector of df1_one_variable with dimension [min to max]. More...
 
void deallocate (void)
 Deallocate df1_one_vector, then set to empty. More...
 
int indexmax (void) const
 
int indexmin (void) const
 
void initialize (void)
 
df1_one_variableoperator() (int i) const
 
df1_one_variableoperator[] (int i) const
 

Private Attributes

int index_max
 
int index_min
 
vector_shapexshape
 
df1_one_variablev
 

Detailed Description

Definition at line 81 of file df11fun.h.

Constructor & Destructor Documentation

df1_one_vector::df1_one_vector ( int  min,
int  max 
)

Definition at line 99 of file df11fun.cpp.

df1_one_vector::df1_one_vector ( void  )

Default constructor.

Definition at line 94 of file df11fun.cpp.

df1_one_vector::~df1_one_vector ( )

Destructor.

Definition at line 46 of file df11fun.cpp.

df1_one_vector::df1_one_vector ( const df1_one_vector m2)

Copy constructor.

Definition at line 34 of file df11fun.cpp.

Member Function Documentation

void df1_one_vector::allocate ( void  )

Reinitialize df1_one_vector to empty.

Definition at line 130 of file df11fun.cpp.

Referenced by deallocate(), df1_one_matrix::df1_one_matrix(), and df1_one_vector().

void df1_one_vector::allocate ( int  min,
int  max 
)

Allocate vector of df1_one_variable with dimension [min to max].

Parameters
minlower vector index
maxupper vector index

Definition at line 111 of file df11fun.cpp.

void df1_one_vector::deallocate ( void  )

Deallocate df1_one_vector, then set to empty.

Definition at line 51 of file df11fun.cpp.

Referenced by ~df1_one_vector().

int df1_one_vector::indexmax ( void  ) const
inline

Definition at line 89 of file df11fun.h.

Referenced by first_derivatives(), initialize(), and value().

int df1_one_vector::indexmin ( void  ) const
inline

Definition at line 88 of file df11fun.h.

Referenced by first_derivatives(), initialize(), and value().

void df1_one_vector::initialize ( void  )

Definition at line 81 of file df11fun.cpp.

df1_one_variable& df1_one_vector::operator() ( int  i) const
inline

Definition at line 94 of file df11fun.h.

df1_one_variable& df1_one_vector::operator[] ( int  i) const
inline

Definition at line 98 of file df11fun.h.

Member Data Documentation

int df1_one_vector::index_max
private

Definition at line 84 of file df11fun.h.

Referenced by allocate(), df1_one_vector(), and indexmax().

int df1_one_vector::index_min
private

Definition at line 83 of file df11fun.h.

Referenced by allocate(), df1_one_vector(), and indexmin().

vector_shapex* df1_one_vector::shape
private

Definition at line 85 of file df11fun.h.

Referenced by allocate(), deallocate(), and df1_one_vector().

df1_one_variable* df1_one_vector::v
private

Definition at line 86 of file df11fun.h.

Referenced by allocate(), deallocate(), df1_one_vector(), operator()(), and operator[]().


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