ADMB Documentation
-a65f1c97
|
Description not yet available. More...
#include <fvar.hpp>
Public Member Functions | |
i4_array (int hsl, int hsu, int sl, int sh, ivector nrl, ivector nrh, ivector ncl, ivector nch) | |
i4_array (int hsl, int hsu) | |
Construct vector of empty i3_array with dimension [hsl to hsu]. More... | |
i4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, const i3_array &nch) | |
Description not yet available. More... | |
i4_array (const ad_integer &hsl, const ad_integer &hsh, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch) | |
i4_array (const i4_array &m2) | |
Copy constructor. More... | |
i4_array (int, int, int, int, int, int, int, int) | |
Construct integer array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
i4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch) | |
i4_array () | |
Default constructor. More... | |
~i4_array () | |
Destructor. More... | |
void | allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch) |
Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (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) |
Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (void) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
void | allocate (const i4_array &) |
void | allocate (const dvar4_array &) |
void | allocate (int hsl, int hsu) |
Allocate vector of empty i3_array with dimension [hsl to hsu]. More... | |
int | colmax (void) |
int | colmax (void) const |
int | colmin (void) |
int | colmin (void) const |
int | colsize () |
int | colsize () const |
void | deallocate (void) |
Deallocate i4_array memory. More... | |
i3_array & | elem (int i) |
const i3_array & | elem (int i) const |
imatrix & | elem (int i, int j) |
ivector & | elem (int i, int j, int k) |
int & | elem (int i, int j, int k, int l) |
unsigned int | get_ncopies () const |
int | hslicemax () const |
int | hslicemin () const |
int | hslicesize () |
int | hslicesize () const |
int | indexmax () const |
int | indexmin () const |
void | initialize () |
Initializes elements of i4_array to zero. More... | |
int | operator! (void) const |
i3_array & | operator() (int i) |
imatrix & | operator() (int i, int j) |
ivector & | operator() (int i, int j, int k) |
int & | operator() (int i, int j, int k, int l) |
const i3_array & | operator() (int i) const |
const imatrix & | operator() (int i, int j) const |
const ivector & | operator() (int i, int j, int k) const |
const int & | operator() (int i, int j, int k, int l) const |
i4_array & | operator= (const i4_array &) |
i3_array & | operator[] (int j) |
const i3_array & | operator[] (int i) const |
int | rowmax (void) |
int | rowmax (void) const |
int | rowmin (void) |
int | rowmin (void) const |
int | rowsize () |
int | rowsize () const |
void | shallow_copy (const i4_array &) |
Shallow copy other data structure pointers. More... | |
int | size () |
int | size () const |
int | slicemax (void) |
int | slicemax (void) const |
int | slicemin (void) |
int | slicemin (void) const |
int | slicesize () |
int | slicesize () const |
Private Attributes | |
vector_shapex * | shape |
i3_array * | t |
Friends | |
class | four_array_shape |
i4_array::i4_array | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
ivector | nrl, | ||
ivector | nrh, | ||
ivector | ncl, | ||
ivector | nch | ||
) |
i4_array::i4_array | ( | int | hsl, |
int | hsu | ||
) |
i4_array::i4_array | ( | const ad_integer & | hsl, |
const ad_integer & | hsh, | ||
const index_type & | sl, | ||
const index_type & | sh, | ||
const index_type & | nrl, | ||
const index_type & | nrh, | ||
const index_type & | ncl, | ||
const index_type & | nch | ||
) |
i4_array::i4_array | ( | const i4_array & | m2 | ) |
i4_array::i4_array | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
Construct integer array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
i4_array::i4_array | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
const ivector & | sh, | ||
int | nrl, | ||
const imatrix & | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
i4_array::i4_array | ( | ) |
Default constructor.
Definition at line 26 of file i4arr.cpp.
Referenced by data_4iarray::allocate().
void i4_array::allocate | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
hsl | lower i4_array index |
hsu | upper i4_array index |
sl | lower i3_array index |
su | upper i3_array index |
nrl | lower matrix row index |
nrh | upper matrix row index |
ncl | lower matrix column index |
nch | upper matrix column index |
Definition at line 118 of file i4arr.cpp.
Referenced by i5_array::allocate().
void i4_array::allocate | ( | 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 | ||
) |
Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
void i4_array::allocate | ( | void | ) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Does NOT allocate, but initializes empty i4_array.
Definition at line 9 of file i4arr.cpp.
Referenced by named_i4_array::allocate(), data_4iarray::allocate(), allocate(), deallocate(), i4_array(), and shallow_copy().
void i4_array::allocate | ( | const i4_array & | ) |
void i4_array::allocate | ( | const dvar4_array & | ) |
void i4_array::allocate | ( | int | hsl, |
int | hsu | ||
) |
|
inline |
|
inline |
void i4_array::deallocate | ( | void | ) |
|
inline |
Definition at line 5959 of file fvar.hpp.
Referenced by allocate(), elem(), initialize(), operator()(), and operator[]().
|
inline |
Definition at line 5905 of file fvar.hpp.
Referenced by allocate(), hslicesize(), indexmax(), and initialize().
|
inline |
Definition at line 5901 of file fvar.hpp.
Referenced by allocate(), colmax(), colmin(), hslicesize(), indexmin(), initialize(), rowmax(), rowmin(), slicemax(), and slicemin().
|
inline |
Definition at line 5897 of file fvar.hpp.
Referenced by colmax(), elem(), hslicesize(), operator<<(), named_i4_array::operator=(), operator>>(), size(), and sub_unallocated().
|
inline |
Definition at line 5893 of file fvar.hpp.
Referenced by allocate(), colmin(), elem(), hslicesize(), operator<<(), named_i4_array::operator=(), operator>>(), size(), and sub_unallocated().
void i4_array::initialize | ( | void | ) |
Initializes elements of i4_array to zero.
Definition at line 15 of file i4arr.cpp.
Referenced by nested_calls_shape::initialize().
|
inline |
Definition at line 5979 of file fvar.hpp.
Referenced by named_i4_array::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void i4_array::shallow_copy | ( | const i4_array & | other | ) |
Shallow copy other data structure pointers.
other | i4_array |
Definition at line 194 of file i4arr.cpp.
Referenced by i4_array().
|
inline |
Definition at line 5848 of file fvar.hpp.
Referenced by i4_index::indexmax(), operator<<(), slicemax(), and slicesize().
|
inline |
Definition at line 5844 of file fvar.hpp.
Referenced by colmax(), colmin(), i4_index::indexmin(), rowmax(), rowmin(), slicemin(), and slicesize().
|
friend |
|
private |
Definition at line 5771 of file fvar.hpp.
Referenced by allocate(), deallocate(), get_ncopies(), hslicemax(), hslicemin(), operator!(), and shallow_copy().
|
private |
Definition at line 5772 of file fvar.hpp.
Referenced by allocate(), deallocate(), elem(), operator()(), operator[](), and shallow_copy().
Generated on Wed Sep 7 2022 00:01:34 for ADMB Documentation by 1.8.5 |