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

Description not yet available. More...

#include <fvar.hpp>

Public Member Functions

 d7_array (int l7, int u7, int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch, int l6, int u6)
 Description not yet available. More...
 
 d7_array (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &l7, const index_type &u7, const index_type &hsl, const index_type &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, const index_type &l6, const index_type &u6)
 Description not yet available. More...
 
 d7_array ()
 Description not yet available. More...
 
 d7_array (const d7_array &)
 Copy constructor (shallow) More...
 
 ~d7_array ()
 Destructor. More...
 
void allocate (int l7, int u7)
 Allocate a vector of empty d6_arrays. More...
 
void allocate (int l7, int u7, int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch, int l6, int u6)
 Allocate a d7_array with indices. More...
 
void allocate (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &l7, const index_type &u7, const index_type &hsl, const index_type &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, const index_type &l6, const index_type &u6)
 Description not yet available. More...
 
void allocate (void)
 Description not yet available. More...
 
void allocate (const d7_array &)
 Allocate d7_array using the same dimensions as other. More...
 
void deallocate (void)
 Deallocate d7_array memory. More...
 
d6_arrayelem (int i)
 
d5_arrayelem (int i, int j)
 
d4_arrayelem (int i, int j, int k)
 
d3_arrayelem (int i, int j, int k, int l)
 
dmatrixelem (int i, int j, int k, int l, int _m)
 
dvectorelem (int i, int j, int k, int l, int _m, int _n)
 
double & elem (int i, int j, int k, int l, int _m, int _n, int _p)
 
const d6_arrayelem (int i) const
 
const d5_arrayelem (int i, int j) const
 
const d4_arrayelem (int i, int j, int k) const
 
const d3_arrayelem (int i, int j, int k, int l) const
 
const dmatrixelem (int i, int j, int k, int l, int _m) const
 
const dvectorelem (int i, int j, int k, int l, int _m, int _n) const
 
const double & elem (int i, int j, int k, int l, int _m, int _n, int _p) const
 
unsigned int get_ncopies () const
 
int indexmax () const
 
int indexmin () const
 
void initialize ()
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
int operator! (void) const
 
d6_arrayoperator() (int i)
 
d5_arrayoperator() (int i, int j)
 
d4_arrayoperator() (int i, int j, int k)
 
d3_arrayoperator() (int i, int j, int k, int l)
 
dmatrixoperator() (int i, int j, int k, int l, int _m)
 
dvectoroperator() (int i, int j, int k, int l, int _m, int _n)
 
double & operator() (int i, int j, int k, int l, int _m, int _n, int _p)
 
const d6_arrayoperator() (int i) const
 
const d5_arrayoperator() (int i, int j) const
 
const d4_arrayoperator() (int i, int j, int k) const
 
const d3_arrayoperator() (int i, int j, int k, int l) const
 
const dmatrixoperator() (int i, int j, int k, int l, int _m) const
 
const dvectoroperator() (int i, int j, int k, int l, int _m, int _n) const
 
const double & operator() (int i, int j, int k, int l, int _m, int _n, int _p) const
 
void operator/= (double d)
 Divide all elements of d7_array by divisor. More...
 
d7_arrayoperator= (const d7_array &)
 Assign element values from other to d7_array. More...
 
d6_arrayoperator[] (int i)
 
const d6_arrayoperator[] (int i) const
 
void shallow_copy (const d7_array &)
 Shallow copy other data structure pointers. More...
 
unsigned int size () const
 

Private Attributes

vector_shapeshape
 
d6_arrayt
 

Detailed Description

Description not yet available.

Parameters

Definition at line 7054 of file fvar.hpp.

Constructor & Destructor Documentation

d7_array::d7_array ( int  l7,
int  u7,
int  hsl,
int  hsu,
int  sl,
int  sh,
int  nrl,
int  nrh,
int  ncl,
int  nch,
int  l5,
int  u5,
int  l6,
int  u6 
)

Description not yet available.

Parameters

Definition at line 123 of file d7arr.cpp.

d7_array::d7_array ( const ad_integer l7,
const ad_integer u7,
const index_type hsl,
const index_type 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,
const index_type l5,
const index_type u5,
const index_type l6,
const index_type u6 
)

Description not yet available.

Parameters

Definition at line 133 of file d7arr.cpp.

d7_array::d7_array ( )

Description not yet available.

Parameters

Definition at line 18 of file d7arr2.cpp.

Referenced by data_7array::allocate().

d7_array::d7_array ( const d7_array other)

Copy constructor (shallow)

Definition at line 33 of file d7arr.cpp.

d7_array::~d7_array ( )

Destructor.

Definition at line 83 of file d7arr.cpp.

Member Function Documentation

void d7_array::allocate ( int  l7,
int  u7 
)

Allocate a vector of empty d6_arrays.

Note: l7 should be greater or equal to u7.

Parameters
l7lower index
u7upper index

Definition at line 161 of file d7arr.cpp.

Referenced by operator/().

void d7_array::allocate ( int  l7,
int  u7,
int  hhsl,
int  hhsu,
int  hsl,
int  hsu,
int  sl,
int  sh,
int  nrl,
int  nrh,
int  ncl,
int  nch,
int  l6,
int  u6 
)

Allocate a d7_array with indices.

Definition at line 145 of file d7arr.cpp.

void d7_array::allocate ( const ad_integer l7,
const ad_integer u7,
const index_type hsl,
const index_type 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,
const index_type l5,
const index_type u5,
const index_type l6,
const index_type u6 
)

Description not yet available.

Parameters

Definition at line 190 of file d7arr.cpp.

void d7_array::allocate ( void  )

Description not yet available.

Parameters

Definition at line 27 of file d7arr2.cpp.

Referenced by named_d7_array::allocate(), data_7array::allocate(), allocate(), d7_array(), deallocate(), and shallow_copy().

void d7_array::allocate ( const d7_array other)

Allocate d7_array using the same dimensions as other.

Parameters
otherd7_array

Definition at line 111 of file d7arr.cpp.

void d7_array::deallocate ( void  )

Deallocate d7_array memory.

Definition at line 59 of file d7arr.cpp.

Referenced by ~d7_array().

d6_array & d7_array::elem ( int  i)
inline

Definition at line 7231 of file fvar.hpp.

Referenced by allocate(), elem(), initialize(), operator()(), operator/=(), operator=(), operator[](), and sum().

d5_array& d7_array::elem ( int  i,
int  j 
)
inline

Definition at line 7097 of file fvar.hpp.

d4_array& d7_array::elem ( int  i,
int  j,
int  k 
)
inline

Definition at line 7101 of file fvar.hpp.

d3_array& d7_array::elem ( int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 7105 of file fvar.hpp.

dmatrix& d7_array::elem ( int  i,
int  j,
int  k,
int  l,
int  _m 
)
inline

Definition at line 7109 of file fvar.hpp.

dvector& d7_array::elem ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n 
)
inline

Definition at line 7113 of file fvar.hpp.

double& d7_array::elem ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n,
int  _p 
)
inline

Definition at line 7117 of file fvar.hpp.

const d6_array & d7_array::elem ( int  i) const
inline

Definition at line 7243 of file fvar.hpp.

const d5_array& d7_array::elem ( int  i,
int  j 
) const
inline

Definition at line 7122 of file fvar.hpp.

const d4_array& d7_array::elem ( int  i,
int  j,
int  k 
) const
inline

Definition at line 7126 of file fvar.hpp.

const d3_array& d7_array::elem ( int  i,
int  j,
int  k,
int  l 
) const
inline

Definition at line 7130 of file fvar.hpp.

const dmatrix& d7_array::elem ( int  i,
int  j,
int  k,
int  l,
int  _m 
) const
inline

Definition at line 7134 of file fvar.hpp.

const dvector& d7_array::elem ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n 
) const
inline

Definition at line 7138 of file fvar.hpp.

const double& d7_array::elem ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n,
int  _p 
) const
inline

Definition at line 7142 of file fvar.hpp.

unsigned int d7_array::get_ncopies ( void  ) const
inline

Definition at line 7229 of file fvar.hpp.

int d7_array::indexmax ( void  ) const
inline
int d7_array::indexmin ( void  ) const
inline
void d7_array::initialize ( void  )

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Initialize all d7_array elements to zero.

Definition at line 13 of file d7arr.cpp.

int d7_array::operator! ( void  ) const
inline

Definition at line 7085 of file fvar.hpp.

d6_array& d7_array::operator() ( int  i)
inline

Definition at line 7146 of file fvar.hpp.

d5_array& d7_array::operator() ( int  i,
int  j 
)
inline

Definition at line 7154 of file fvar.hpp.

d4_array& d7_array::operator() ( int  i,
int  j,
int  k 
)
inline

Definition at line 7158 of file fvar.hpp.

d3_array& d7_array::operator() ( int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 7162 of file fvar.hpp.

dmatrix& d7_array::operator() ( int  i,
int  j,
int  k,
int  l,
int  _m 
)
inline

Definition at line 7166 of file fvar.hpp.

dvector& d7_array::operator() ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n 
)
inline

Definition at line 7170 of file fvar.hpp.

double& d7_array::operator() ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n,
int  _p 
)
inline

Definition at line 7174 of file fvar.hpp.

const d6_array& d7_array::operator() ( int  i) const
inline

Definition at line 7178 of file fvar.hpp.

const d5_array& d7_array::operator() ( int  i,
int  j 
) const
inline

Definition at line 7186 of file fvar.hpp.

const d4_array& d7_array::operator() ( int  i,
int  j,
int  k 
) const
inline

Definition at line 7190 of file fvar.hpp.

const d3_array& d7_array::operator() ( int  i,
int  j,
int  k,
int  l 
) const
inline

Definition at line 7194 of file fvar.hpp.

const dmatrix& d7_array::operator() ( int  i,
int  j,
int  k,
int  l,
int  _m 
) const
inline

Definition at line 7198 of file fvar.hpp.

const dvector& d7_array::operator() ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n 
) const
inline

Definition at line 7202 of file fvar.hpp.

const double& d7_array::operator() ( int  i,
int  j,
int  k,
int  l,
int  _m,
int  _n,
int  _p 
) const
inline

Definition at line 7207 of file fvar.hpp.

void d7_array::operator/= ( double  d)

Divide all elements of d7_array by divisor.

Parameters
divisordouble

Definition at line 27 of file d7arr1.cpp.

d7_array & d7_array::operator= ( const d7_array other)

Assign element values from other to d7_array.

Definition at line 90 of file d7arr.cpp.

Referenced by named_d7_array::operator=().

d6_array& d7_array::operator[] ( int  i)
inline

Definition at line 7150 of file fvar.hpp.

const d6_array& d7_array::operator[] ( int  i) const
inline

Definition at line 7182 of file fvar.hpp.

void d7_array::shallow_copy ( const d7_array other)

Shallow copy other data structure pointers.

Parameters
otherd7_array

Definition at line 42 of file d7arr.cpp.

Referenced by d7_array().

unsigned int d7_array::size ( void  ) const
inline

Definition at line 7222 of file fvar.hpp.

Referenced by allocate(), and initialize().

Member Data Documentation

vector_shape* d7_array::shape
private

Definition at line 7056 of file fvar.hpp.

Referenced by allocate(), deallocate(), get_ncopies(), indexmax(), indexmin(), operator!(), and shallow_copy().

d6_array* d7_array::t
private

Definition at line 7057 of file fvar.hpp.

Referenced by allocate(), deallocate(), elem(), and shallow_copy().


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