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

Description not yet available. More...

#include <admodel.h>

Public Member Functions

 data_vector (void)
data_vectoroperator= (const dvector &m)
 Assignment operator for dvector argument.
data_vectoroperator= (const double m)
 Assignment operator for double argument.

Private Member Functions

void allocate (int imin, int imax, const char *="UNNAMED")
void allocate (int imin, const ivector &imax, const char *="UNNAMED")
void allocate (init_xml_doc &, const char *="UNNAMED")

Friends

class model_data

Detailed Description

Description not yet available.

Parameters:

Definition at line 1707 of file admodel.h.


Constructor & Destructor Documentation

data_vector::data_vector ( void  ) [inline]

Definition at line 1712 of file admodel.h.


Member Function Documentation

void data_vector::allocate ( int  imin,
int  imax,
const char *  s = "UNNAMED" 
) [private]

Reimplemented from named_dvector.

Definition at line 1208 of file model.cpp.

void data_vector::allocate ( int  imin,
const ivector imax,
const char *  = "UNNAMED" 
) [private]

Reimplemented from named_dvector.

void data_vector::allocate ( init_xml_doc &  ,
const char *  = "UNNAMED" 
) [private]
data_vector & data_vector::operator= ( const dvector t)

Assignment operator for dvector argument.

Assigns the values of the argument to a target dvector in the LHS of the assignment operator. The range of valid subscripts in the argument and the target must be identical.

Parameters:
tA dvector constant
Returns:
Reference to a dvector object.

Reimplemented from named_dvector.

Reimplemented in dll_data_vector.

Definition at line 155 of file model11.cpp.

Referenced by operator=().

data_vector & data_vector::operator= ( const double  x)

Assignment operator for double argument.

Assigns a the same value to all members of the vector object.

Parameters:
xA double constant.
Returns:
Reference to a dvector object.

Reimplemented from named_dvector.

Definition at line 160 of file model11.cpp.


Friends And Related Function Documentation

friend class model_data [friend]

Reimplemented from named_dvector.

Definition at line 1717 of file admodel.h.

List of all members.


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