ADMB Documentation
-a65f1c97
|
Description not yet available. More...
#include <fvar.hpp>
Public Member Functions | |
i3_array (int sl, int sh, int nrl, int nrh, const ivector &nc) | |
i3_array (void) | |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
i3_array (int sl, int sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch) | |
Description not yet available. More... | |
i3_array (int _sl, int _sh, const imatrix &m1) | |
Allocate vector [sl to sh] of integer matrices with same dimension as m1. More... | |
i3_array (int sl, int sh) | |
Construct vector of empty matrices with dimension [sl to sh]. More... | |
i3_array (int sl, int sh, int nrl, int nrh, int ncl, int nch) | |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
i3_array (int sl, int sh, int nrl, int nrh, const ivector &ncl, int nch) | |
i3_array (int sl, int sh, const ivector &nrl, const ivector &nrh, const imatrix &ncl, const imatrix &nch) | |
i3_array (int sl, int sh, const ivector &nrl, const ivector &nrh, int ncl, const imatrix &nch) | |
i3_array (int sl, int sh, const ivector &nrl, const ivector &nrh, const ivector &ncl, const ivector &nch) | |
i3_array (int sl, int sh, int nrl, int nrh, const ivector &ncl, const ivector &nch) | |
Construct vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
i3_array (int sl, int sh, int nrl, const ivector &nrh, int ncl, const ivector &nch) | |
i3_array (int sl, int sh, int nrl, const ivector &nrh, int ncl, int nch) | |
Construct vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
i3_array (int sl, int sh, int nrl, const ivector &nrh, int ncl, const imatrix &nch) | |
Construct vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
i3_array (const i3_array &m2) | |
Copy constructor (shallow) More... | |
~i3_array () | |
Destructor. More... | |
void | allocate (int sl, int sh, int nrl, int nrh, const ivector &nc) |
void | allocate (int sl, int sh, int nrl, const ivector &nrh, int ncl, int nch) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (const dvar3_array &) |
void | allocate (const i3_array &i3v) |
Allocate i3_array with same dimension as other. More... | |
void | allocate (int sl, int sh, int nrl, int nrh, int ncl, int nch) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int sl, int sh) |
Allocate vector of empty matrices with dimension [sl to sh]. More... | |
void | allocate (int sl, int sh, int nrl, int nrh, const ivector &ncl, int nch) |
void | allocate (int sl, int sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch) |
Allocate array of matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int sl, int sh, const ivector &nrl, const ivector &nrh, const imatrix &ncl, const imatrix &nch) |
void | allocate (int sl, int sh, int nrl, const ivector &nrh, int ncl, const imatrix &nch) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int sl, int sh, const ivector &nrl, const ivector &nrh, int ncl, const imatrix &nch) |
void | allocate (int sl, int sh, const ivector &nrl, const ivector &nrh, int ncl, int nch) |
void | allocate (int sl, int sh, const ivector &nrl, int nrh, int ncl, int nch) |
void | allocate (int sl, int sh, const ivector &nrl, const ivector &nrh, const ivector &ncl, const ivector &nch) |
void | allocate (int sl, int sh, int nrl, const ivector &nrh, int ncl, const ivector &nch) |
void | allocate (int sl, int sh, int nrl, int nrh, const ivector &ncl, const ivector &nch) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More... | |
void | allocate (int sl, int sh, int nrl, int nrh, int ncl, const ivector &nch) |
void | allocate (void) |
Does NOT allocate, but set empty i3_array. More... | |
int | colmax (void) const |
int | colmin (void) const |
int | colsize () const |
void | deallocate (void) |
Deallocate i3_array memory. More... | |
imatrix & | elem (int i) |
const imatrix & | elem (int i) const |
void | fill_randn (long int &n) |
void | fill_randn_ni (long int &n) |
void | fill_randu (long int &n) |
void | fill_randu_ni (long int &n) |
unsigned int | get_ncopies () const |
int | indexmax () const |
int | indexmin () const |
void | initialize (int sl, int sh, int nrl, const ivector &nrh, int ncl, const ivector &nch) |
void | initialize () |
Initialize all elements of i3_array to zero. More... | |
int | operator! (void) const |
int & | operator() (int i, int j, int k) |
ivector & | operator() (int i, int j) |
imatrix & | operator() (int i) |
const int & | operator() (int i, int j, int k) const |
const ivector & | operator() (int i, int j) const |
const imatrix & | operator() (int i) const |
i3_array & | operator= (const i3_array &other) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
i3_array & | operator= (int value) |
Assigns value to all elements of i3_array. More... | |
imatrix & | operator[] (int i) |
const imatrix & | operator[] (int i) const |
int | rowmax (void) const |
int | rowmin (void) const |
int | rowsize () const |
void | shallow_copy (const i3_array &) |
Shallow copy other data structure pointers. More... | |
int | slicemax () const |
int | slicemin () const |
unsigned int | slicesize () const |
Private Attributes | |
three_array_shape * | shape |
imatrix * | t |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
const ivector & | nc | ||
) |
i3_array::i3_array | ( | void | ) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Default constructor
Definition at line 8 of file i3arr.cpp.
Referenced by data_3iarray::allocate().
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
const index_type & | nrl, | ||
const index_type & | nrh, | ||
const index_type & | ncl, | ||
const index_type & | nch | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
const imatrix & | m1 | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
const ivector & | ncl, | ||
int | nch | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
const imatrix & | ncl, | ||
const imatrix & | nch | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
const imatrix & | nch | ||
) |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
Construct vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrh | upper matrix row index |
ncl | vector of lower matrix column indexes |
nch | vector of upper matrix column indexes |
i3_array::i3_array | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
Construct vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrh | vector of upper matrix row indexes |
ncl | lower matrix column index |
nch | upper matrix column index |
Construct vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrh | vector of upper matrix row indexes [sl to sh] |
ncl | lower matrix column index |
nch | matrix of upper matrix column indexes [sl to sh] x [ncl to nrh] |
i3_array::i3_array | ( | const i3_array & | m2 | ) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
const ivector & | nc | ||
) |
Referenced by i4_array::allocate().
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrh | vector of upper matrix row indexes |
ncl | lower matrix column index |
nch | upper matrix column index |
void i3_array::allocate | ( | const dvar3_array & | ) |
void i3_array::allocate | ( | const i3_array & | other | ) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
const ivector & | ncl, | ||
int | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
const index_type & | nrl, | ||
const index_type & | nrh, | ||
const index_type & | ncl, | ||
const index_type & | nch | ||
) |
Allocate array of matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrl | upper matrix row index |
ncl | lower matrix column index |
ncl | upper matrix column index |
Definition at line 279 of file indextyp.cpp.
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
const imatrix & | ncl, | ||
const imatrix & | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
const imatrix & | nch | ||
) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrh | vector of upper matrix row indexes [sl to sh] |
ncl | lower matrix column index |
nch | matrix of upper matrix column indexes [sl to sh] x [ncl to nrh] |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
const imatrix & | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
const ivector & | nrl, | ||
const ivector & | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
const ivector & | nrh, | ||
int | ncl, | ||
const ivector & | nch | ||
) |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
Allocate vector of integer matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
sl | lower vector index |
sh | upper vector index |
nrl | lower matrix row index |
nrh | upper matrix row index |
ncl | vector of lower matrix column indexes |
nch | vector of upper matrix column indexes |
void i3_array::allocate | ( | int | sl, |
int | sh, | ||
int | nrl, | ||
int | nrh, | ||
int | ncl, | ||
const ivector & | nch | ||
) |
void i3_array::allocate | ( | void | ) |
Does NOT allocate, but set empty i3_array.
Definition at line 237 of file i3arr.cpp.
Referenced by named_i3_array::allocate(), data_3iarray::allocate(), allocate(), deallocate(), i3_array(), and shallow_copy().
|
inline |
|
inline |
void i3_array::deallocate | ( | void | ) |
|
inline |
Definition at line 4091 of file fvar.hpp.
Referenced by allocate(), initialize(), operator()(), operator=(), and operator[]().
void i3_array::fill_randn | ( | long int & | n | ) |
void i3_array::fill_randn_ni | ( | long int & | n | ) |
void i3_array::fill_randu | ( | long int & | n | ) |
void i3_array::fill_randu_ni | ( | long int & | n | ) |
|
inline |
Definition at line 4025 of file fvar.hpp.
Referenced by laplace_approximation_calculator::check_hessian_type(), shareinfo::get_inv_matrix_shared(), operator>>(), param_init_d3array::shared_set_value(), param_init_d3array::shared_size_count(), and sub_unallocated().
|
inline |
Definition at line 4021 of file fvar.hpp.
Referenced by laplace_approximation_calculator::check_hessian_type(), deallocate(), shareinfo::get_inv_matrix_shared(), operator>>(), param_init_d3array::shared_set_value(), param_init_d3array::shared_size_count(), and sub_unallocated().
void i3_array::initialize | ( | void | ) |
|
inline |
|
inline |
|
inline |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Assign values from other to i3_array. Note: Both matrices should have the same bounds.
other | i3_array |
Definition at line 13 of file i3arr8.cpp.
Referenced by named_i3_array::operator=().
i3_array & i3_array::operator= | ( | int | value | ) |
Assigns value to all elements of i3_array.
value | integer |
Definition at line 36 of file i3arr8.cpp.
|
inline |
|
inline |
|
inline |
void i3_array::shallow_copy | ( | const i3_array & | other | ) |
Shallow copy other data structure pointers.
other | i3_array |
Definition at line 260 of file i3arr.cpp.
Referenced by i3_array().
|
inline |
Definition at line 4033 of file fvar.hpp.
Referenced by allocate(), elem(), i3_array(), indexmax(), i3_index::indexmax(), initialize(), operator<<(), operator=(), operator>>(), and slicesize().
|
inline |
Definition at line 4029 of file fvar.hpp.
Referenced by allocate(), colmax(), colmin(), elem(), i3_array(), indexmin(), i3_index::indexmin(), initialize(), operator<<(), operator=(), operator>>(), rowmax(), rowmin(), and slicesize().
|
inline |
Definition at line 4054 of file fvar.hpp.
Referenced by allocate().
|
private |
Definition at line 3947 of file fvar.hpp.
Referenced by allocate(), deallocate(), get_ncopies(), operator!(), shallow_copy(), slicemax(), and slicemin().
|
private |
Definition at line 3946 of file fvar.hpp.
Referenced by allocate(), deallocate(), elem(), i3_array(), operator()(), operator=(), operator[](), and shallow_copy().
Generated on Wed Sep 7 2022 00:01:34 for ADMB Documentation by 1.8.5 |