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

Description not yet available. More...

#include <fvar.hpp>

Public Member Functions

 d6_array (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...
 
 d6_array (const ad_integer &hhsl, const ad_integer &hhsu, 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...
 
 d6_array (const d6_array &m2)
 Copy constructor (shallow) More...
 
 d6_array ()
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
 ~d6_array ()
 Destructor. More...
 
void allocate (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 d6_array with specified dimensions. More...
 
void allocate (int hhsl, int hhsu)
 
void allocate (const ad_integer &hhsl, const ad_integer &hhsu, 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)
 Allocate d6_array with specified dimensions. More...
 
void allocate (void)
 Does NOT allocate, but initializes d6_array members. More...
 
void allocate (const d6_array &)
 Allocate d6_array with same dimensions as other. More...
 
void deallocate (void)
 Deallocate d6_array memory. More...
 
d5_arrayelem (int i)
 
d4_arrayelem (int i, int j)
 
d3_arrayelem (int i, int j, int k)
 
dmatrixelem (int i, int j, int k, int l)
 
dvectorelem (int i, int j, int k, int l, int _m)
 
double & elem (int i, int j, int k, int l, int _m, int _n)
 
const d5_arrayelem (int i) const
 
const d4_arrayelem (int i, int j) const
 
const d3_arrayelem (int i, int j, int k) const
 
const dmatrixelem (int i, int j, int k, int l) const
 
const dvectorelem (int i, int j, int k, int l, int _m) const
 
const double & elem (int i, int j, int k, int l, int _m, int _n) 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
 
d5_arrayoperator() (int i)
 
d4_arrayoperator() (int i, int j)
 
d3_arrayoperator() (int i, int j, int k)
 
dmatrixoperator() (int i, int j, int k, int l)
 
dvectoroperator() (int i, int j, int k, int l, int _m)
 
double & operator() (int i, int j, int k, int l, int _m, int _n)
 
const d5_arrayoperator() (int i) const
 
const d4_arrayoperator() (int i, int j) const
 
const d3_arrayoperator() (int i, int j, int k) const
 
const dmatrixoperator() (int i, int j, int k, int l) const
 
const dvectoroperator() (int i, int j, int k, int l, int _m) const
 
const double & operator() (int i, int j, int k, int l, int _m, int _n) const
 
void operator/= (double d)
 Divides all elements of d6_array by divisor. More...
 
d6_arrayoperator= (const d6_array &)
 Assigns element values from other to d6_array. More...
 
d5_arrayoperator[] (int i)
 
const d5_arrayoperator[] (int i) const
 
void shallow_copy (const d6_array &)
 Shallow copy other data structure pointers. More...
 
unsigned int size () const
 

Private Attributes

vector_shapeshape
 
d5_arrayt
 

Detailed Description

Description not yet available.

Parameters

Definition at line 6673 of file fvar.hpp.

Constructor & Destructor Documentation

d6_array::d6_array ( 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 126 of file d6arr.cpp.

d6_array::d6_array ( const ad_integer hsl,
const ad_integer 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 136 of file d6arr.cpp.

d6_array::d6_array ( const d6_array m2)

Copy constructor (shallow)

Definition at line 33 of file d6arr.cpp.

d6_array::d6_array ( )

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

Default constructor

Definition at line 9 of file d6arr2.cpp.

Referenced by data_6array::allocate().

d6_array::~d6_array ( )

Destructor.

Definition at line 83 of file d6arr.cpp.

Member Function Documentation

void d6_array::allocate ( 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 d6_array with specified dimensions.

Definition at line 172 of file d6arr.cpp.

Referenced by d7_array::allocate(), and operator/().

void d6_array::allocate ( int  hhsl,
int  hhsu 
)

Definition at line 144 of file d6arr.cpp.

void d6_array::allocate ( const ad_integer hhsl,
const ad_integer hhsu,
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 
)

Allocate d6_array with specified dimensions.

Definition at line 196 of file d6arr.cpp.

void d6_array::allocate ( void  )

Does NOT allocate, but initializes d6_array members.

Definition at line 14 of file d6arr2.cpp.

Referenced by named_d6_array::allocate(), data_6array::allocate(), allocate(), d6_array(), deallocate(), and shallow_copy().

void d6_array::allocate ( const d6_array other)

Allocate d6_array with same dimensions as other.

Parameters
otherd6_array

Definition at line 114 of file d6arr.cpp.

void d6_array::deallocate ( void  )

Deallocate d6_array memory.

Definition at line 59 of file d6arr.cpp.

Referenced by ~d6_array().

d5_array & d6_array::elem ( int  i)
inline
d4_array& d6_array::elem ( int  i,
int  j 
)
inline

Definition at line 6713 of file fvar.hpp.

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

Definition at line 6717 of file fvar.hpp.

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

Definition at line 6721 of file fvar.hpp.

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

Definition at line 6725 of file fvar.hpp.

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

Definition at line 6729 of file fvar.hpp.

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

Definition at line 6841 of file fvar.hpp.

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

Definition at line 6734 of file fvar.hpp.

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

Definition at line 6738 of file fvar.hpp.

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

Definition at line 6742 of file fvar.hpp.

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

Definition at line 6746 of file fvar.hpp.

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

Definition at line 6750 of file fvar.hpp.

unsigned int d6_array::get_ncopies ( void  ) const
inline

Definition at line 6826 of file fvar.hpp.

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

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

Initialize all elments of d6_array to zero.

Definition at line 13 of file d6arr.cpp.

Referenced by d7_array::initialize().

int d6_array::operator! ( void  ) const
inline

Definition at line 6703 of file fvar.hpp.

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

Definition at line 6754 of file fvar.hpp.

d4_array& d6_array::operator() ( int  i,
int  j 
)
inline

Definition at line 6762 of file fvar.hpp.

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

Definition at line 6766 of file fvar.hpp.

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

Definition at line 6770 of file fvar.hpp.

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

Definition at line 6774 of file fvar.hpp.

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

Definition at line 6778 of file fvar.hpp.

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

Definition at line 6782 of file fvar.hpp.

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

Definition at line 6790 of file fvar.hpp.

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

Definition at line 6794 of file fvar.hpp.

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

Definition at line 6798 of file fvar.hpp.

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

Definition at line 6802 of file fvar.hpp.

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

Definition at line 6806 of file fvar.hpp.

void d6_array::operator/= ( double  d)

Divides all elements of d6_array by divisor.

Parameters
divisordouble

Definition at line 28 of file d6arr1.cpp.

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

Assigns element values from other to d6_array.

Parameters
otherd6_array

Definition at line 93 of file d6arr.cpp.

Referenced by named_d6_array::operator=().

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

Definition at line 6758 of file fvar.hpp.

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

Definition at line 6786 of file fvar.hpp.

void d6_array::shallow_copy ( const d6_array other)

Shallow copy other data structure pointers.

Parameters
otherd3_array

Definition at line 42 of file d6arr.cpp.

Referenced by d6_array().

unsigned int d6_array::size ( void  ) const
inline

Definition at line 6820 of file fvar.hpp.

Referenced by allocate(), and initialize().

Member Data Documentation

vector_shape* d6_array::shape
private

Definition at line 6675 of file fvar.hpp.

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

d5_array* d6_array::t
private

Definition at line 6676 of file fvar.hpp.

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


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