ADMB Documentation
-a65f1c97
|
Description not yet available. More...
#include <fvar.hpp>
Public Member Functions | |
d4_array (int, int) | |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
d4_array (int hsl, int hsu, int sl, int sh, ivector nrl, ivector nrh, ivector ncl, ivector nch) | |
Description not yet available. More... | |
d4_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... | |
d4_array (int hsl, int 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) | |
Description not yet available. More... | |
d4_array (const d4_array &m2) | |
Copy constructor (shallow) More... | |
d4_array (int, int, int, int, int, int, int, int) | |
Description not yet available. More... | |
d4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch) | |
Description not yet available. More... | |
d4_array () | |
Default constructor. More... | |
~d4_array () | |
Destructor. More... | |
void | allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, const imatrix &nch) |
void | allocate (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... | |
void | allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, const ivector &ncl, const ivector &nch) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int hsl, int hsu, int sl, int sh, const ivector &nrl, const ivector &nrh, const ivector &ncl, const ivector &nch) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (void) |
Does not allocate, but initializes pointers to NULL. More... | |
void | allocate (const d4_array &) |
Allocate d4_array with same dimensions as other. More... | |
void | allocate (const dvar4_array &) |
void | allocate (int hsl, int 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 arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (ad_integer hsl, 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 arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (ad_integer hsl, ad_integer hsu, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh) |
Allocate arrays with empty columns matrices with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh]. More... | |
void | allocate (ad_integer hsl, ad_integer hsu, const index_type &sl, const index_type &sh) |
Allocate 2d arrays with empty matrices with dimension [hsl to hsu] x [sl to sh]. More... | |
void | allocate (ad_integer hsl, ad_integer 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) |
Deallocates d4_array memory. More... | |
d3_array & | elem (int i) |
dmatrix & | elem (int i, int j) |
dvector & | elem (int i, int j, int k) |
double & | elem (int i, int j, int k, int l) |
const d3_array & | elem (int i) const |
const dmatrix & | elem (int i, int j) const |
const dvector & | elem (int i, int j, int k) const |
const double & | elem (int i, int j, int k, int l) const |
unsigned int | get_ncopies () const |
int | hslicemax () const |
int | hslicemin () const |
unsigned int | hslicesize () const |
int | indexmax () const |
int | indexmin () const |
void | initialize () |
Description not yet available. More... | |
int | operator! (void) const |
const d3_array & | operator() (int i) const |
const dmatrix & | operator() (int i, int j) const |
const dvector & | operator() (int i, int j, int k) const |
const double & | operator() (int i, int j, int k, int l) const |
d3_array & | operator() (int) |
dmatrix & | operator() (int, int) |
dvector & | operator() (int, int, int) |
double & | operator() (int, int, int, int) |
void | operator/= (double d) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
d4_array & | operator= (const d4_array &) |
Assigns element values from other to d4_array. More... | |
const d3_array & | operator[] (int i) const |
d3_array & | operator[] (int) |
int | rowmax (void) |
int | rowmax (void) const |
int | rowmin (void) |
int | rowmin (void) const |
int | rowsize () |
int | rowsize () const |
void | shallow_copy (const d4_array &) |
Copies pointer locations from other to d4_array. More... | |
int | slicemax (void) |
int | slicemax (void) const |
int | slicemin (void) |
int | slicemin (void) const |
int | slicesize () |
int | slicesize () const |
d4_array | sub (int, int) |
Description not yet available. More... | |
Private Attributes | |
four_array_shape * | shape |
d3_array * | t |
Friends | |
class | four_array_shape |
d4_array::d4_array | ( | int | nrl, |
int | nrh | ||
) |
d4_array::d4_array | ( | int | hsl, |
int | 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 | ||
) |
d4_array::d4_array | ( | const d4_array & | m2 | ) |
d4_array::d4_array | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
d4_array::d4_array | ( | ) |
Default constructor.
Definition at line 9 of file d4arr3.cpp.
Referenced by data_4array::allocate().
void d4_array::allocate | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
hsl | lower d4_array index |
hsu | upper d4_array index |
sl | lower d3_array index |
sh | upper d3_array index |
nrl | lower row matrix index |
nrh | upper row matrix index |
ncl | lower column matrix index |
nch | upper column matrix index |
Definition at line 344 of file d4arr.cpp.
Referenced by d5_array::allocate(), exp(), log(), mfexp(), operator/(), and sqrt().
void d4_array::allocate | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
const ivector & | sh, | ||
int | nrl, | ||
const imatrix & | nrh, | ||
int | ncl, | ||
const imatrix & | nch | ||
) |
void d4_array::allocate | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
void d4_array::allocate | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
void d4_array::allocate | ( | int | hsl, |
int | hsu, | ||
int | sl, | ||
const ivector & | sh, | ||
int | nrl, | ||
const imatrix & | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
void d4_array::allocate | ( | void | ) |
Does not allocate, but initializes pointers to NULL.
Definition at line 14 of file d4arr3.cpp.
Referenced by named_d4_array::allocate(), data_4array::allocate(), allocate(), d4_array(), deallocate(), and shallow_copy().
void d4_array::allocate | ( | const d4_array & | other | ) |
void d4_array::allocate | ( | const dvar4_array & | ) |
void d4_array::allocate | ( | int | hsl, |
int | 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 arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
void d4_array::allocate | ( | ad_integer | hsl, |
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 arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch].
void d4_array::allocate | ( | ad_integer | hsl, |
ad_integer | hsu, | ||
const index_type & | sl, | ||
const index_type & | sh, | ||
const index_type & | nrl, | ||
const index_type & | nrh | ||
) |
void d4_array::allocate | ( | ad_integer | hsl, |
ad_integer | hsu, | ||
const index_type & | sl, | ||
const index_type & | sh | ||
) |
void d4_array::allocate | ( | ad_integer | hsl, |
ad_integer | hsu | ||
) |
|
inline |
|
inline |
void d4_array::deallocate | ( | void | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 5317 of file fvar.hpp.
Referenced by allocate(), dvar4_array::allocate(), exp(), hslicesize(), indexmax(), initialize(), log(), mfexp(), operator<<(), operator=(), dvar4_array::operator=(), operator>>(), and sqrt().
|
inline |
Definition at line 5313 of file fvar.hpp.
Referenced by allocate(), dvar4_array::allocate(), colmax(), colmin(), exp(), hslicesize(), indexmin(), initialize(), log(), mfexp(), operator<<(), operator=(), dvar4_array::operator=(), operator>>(), rowmax(), rowmin(), slicemax(), slicemin(), and sqrt().
|
inline |
Definition at line 5356 of file fvar.hpp.
Referenced by allocate().
|
inline |
Definition at line 5309 of file fvar.hpp.
Referenced by colmax(), operator/(), operator/=(), operator>>(), size_count(), sub_unallocated(), and sum().
|
inline |
Definition at line 5305 of file fvar.hpp.
Referenced by colmin(), deallocate(), operator/(), operator/=(), operator>>(), size_count(), sub_unallocated(), and sum().
void d4_array::initialize | ( | void | ) |
Description not yet available.
Definition at line 534 of file d4arr.cpp.
Referenced by d5_array::initialize().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void d4_array::operator/= | ( | double | d | ) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Divides all elements of d4_array by d.
d | double |
Definition at line 12 of file d4arr2.cpp.
Assigns element values from other to d4_array.
other | d4_array |
Definition at line 141 of file d4arr.cpp.
Referenced by named_d4_array::operator=().
|
inline |
|
inline |
|
inline |
void d4_array::shallow_copy | ( | const d4_array & | other | ) |
|
inline |
Definition at line 5270 of file fvar.hpp.
Referenced by slicemax(), and slicesize().
|
inline |
Definition at line 5266 of file fvar.hpp.
Referenced by colmax(), colmin(), rowmax(), rowmin(), slicemin(), and slicesize().
d4_array d4_array::sub | ( | int | nrl, |
int | nrh | ||
) |
|
friend |
Definition at line 5264 of file fvar.hpp.
Referenced by allocate().
|
private |
Definition at line 5163 of file fvar.hpp.
Referenced by allocate(), deallocate(), get_ncopies(), hslicemax(), hslicemin(), operator!(), and shallow_copy().
|
private |
Definition at line 5164 of file fvar.hpp.
Referenced by allocate(), deallocate(), elem(), initialize(), operator()(), operator=(), operator[](), and shallow_copy().
Generated on Wed Sep 7 2022 00:01:32 for ADMB Documentation by 1.8.5 |