|
ADMB Documentation
-a65f1c97
|
Description not yet available. More...
#include <fvar.hpp>
Public Member Functions | |
| lvector (const lvector &) | |
| Copy constructor. More... | |
| lvector (const dvector &) | |
| Description not yet available. More... | |
| lvector (const ivector &) | |
| Description not yet available. More... | |
| lvector (void) | |
| Default constructor. More... | |
| lvector (int ncl, int ncu) | |
| Constructor to allocate vector of AD_LONG_INT. More... | |
| lvector (unsigned int sz, AD_LONG_INT *x) | |
| Description not yet available. More... | |
| ~lvector () | |
| Destructor. More... | |
| void | allocate (int ncl, int ncu) |
| Allocate vector of AD_LONG_INT. More... | |
| void | allocate (const lvector &) |
| Description not yet available. More... | |
| void | allocate (void) |
| Does not really allocate, but empties the array. More... | |
| AD_LONG_INT & | elem (int i) |
| const AD_LONG_INT & | elem (int i) const |
| void | fill (const char *s) |
| Description not yet available. More... | |
| void | fill_multinomial (const int &seed, const dvector &p) |
| Description not yet available. More... | |
| void | fill_multinomial (const random_number_generator &rng, const dvector &p) |
| Description not yet available. More... | |
| void | fill_seqadd (const AD_LONG_INT &, const AD_LONG_INT &) |
| Fills ivector elements with values starting from base and incremented by offset. More... | |
| int | indexmax () const |
| int | indexmin () const |
| void | initialize (void) |
| Intialize vector values to zero. More... | |
| operator AD_LONG_INT * () | |
| int | operator! (void) const |
| AD_LONG_INT & | operator() (int i) |
| const AD_LONG_INT & | operator() (int i) const |
| lvector | operator() (const ivector &indexes) |
| Returns a selected vector of values from lvector using positions in indexes. More... | |
| lvector & | operator= (const lvector &t) |
| Description not yet available. More... | |
| AD_LONG_INT & | operator[] (int i) |
| const AD_LONG_INT & | operator[] (int i) const |
| void | read_from (const istream &s) |
| Description not yet available. More... | |
| void | read_from (const uistream &s) |
| Description not yet available. More... | |
| lvector & | shift (int min) |
| Shift current dimensions of lvector using to_indexmin as the new lower index value. More... | |
| int | size () const |
| void | write_on (const ostream &s) const |
| Description not yet available. More... | |
| void | write_on (const uostream &s) const |
| Description not yet available. More... | |
Private Attributes | |
| vector_shape * | shape |
| AD_LONG_INT * | v |
Friends | |
| class | lmatrix |
| lvector::lvector | ( | const lvector & | t | ) |
Copy constructor.
Definition at line 37 of file lvector.cpp.
| lvector::lvector | ( | const dvector & | u | ) |
| lvector::lvector | ( | const ivector & | u | ) |
| lvector::lvector | ( | void | ) |
| lvector::lvector | ( | int | ncl, |
| int | nch | ||
| ) |
Constructor to allocate vector of AD_LONG_INT.
| ncl | lower index |
| nch | high index |
Definition at line 187 of file lvector.cpp.
| lvector::lvector | ( | unsigned int | sz, |
| AD_LONG_INT * | x | ||
| ) |
| lvector::~lvector | ( | ) |
Destructor.
Definition at line 46 of file lvector.cpp.
| void lvector::allocate | ( | int | ncl, |
| int | nch | ||
| ) |
Allocate vector of AD_LONG_INT.
| ncl | lower index |
| nch | high index |
Definition at line 156 of file lvector.cpp.
Referenced by lmatrix::allocate(), and lmatrix::lmatrix().
| void lvector::allocate | ( | const lvector & | lv | ) |
| void lvector::allocate | ( | void | ) |
Does not really allocate, but empties the array.
Definition at line 176 of file lvector.cpp.
Referenced by allocate(), and lvector().
|
inline |
Definition at line 667 of file fvar.hpp.
Referenced by dvector::dvector(), fill_seqadd(), lvector(), and operator=().
|
inline |
| void lvector::fill | ( | const char * | s | ) |
| void lvector::fill_multinomial | ( | const int & | seed, |
| const dvector & | p | ||
| ) |
| void lvector::fill_multinomial | ( | const random_number_generator & | rng, |
| const dvector & | p | ||
| ) |
| void lvector::fill_seqadd | ( | const AD_LONG_INT & | base, |
| const AD_LONG_INT & | offset | ||
| ) |
Fills ivector elements with values starting from base and incremented by offset.
| base | initial value |
| offset | incremental value |
Definition at line 88 of file cranfill.cpp.
|
inline |
Definition at line 681 of file fvar.hpp.
Referenced by allocate(), dvector::dvector(), fill_multinomial(), fill_seqadd(), lvector(), dvector::operator()(), dvar_vector::operator()(), operator=(), cifstream::operator>>(), read_from(), and write_on().
|
inline |
Definition at line 676 of file fvar.hpp.
Referenced by allocate(), dvector::dvector(), fill_multinomial(), fill_seqadd(), initialize(), lvector(), dvector::operator()(), dvar_vector::operator()(), operator=(), cifstream::operator>>(), read_from(), shift(), write_on(), and ~lvector().
| void lvector::initialize | ( | void | ) |
Intialize vector values to zero.
Definition at line 216 of file lvector.cpp.
Referenced by allocate(), and dependent_variables_information::dependent_variables_information().
| lvector::operator AD_LONG_INT * | ( | ) |
|
inline |
Definition at line 746 of file fvar.hpp.
Referenced by operator()().
|
inline |
Returns a selected vector of values from lvector using positions in indexes.
Note: Assumes positions are in range [indexmin() to indexmax()].
| indexes | contains vector of valid index values |
|
inline |
|
inline |
| void lvector::read_from | ( | const istream & | _s | ) |
| void lvector::read_from | ( | const uistream & | _s | ) |
| lvector & lvector::shift | ( | int | to_indexmin | ) |
|
inline |
Definition at line 686 of file fvar.hpp.
Referenced by initialize(), and lvector().
| void lvector::write_on | ( | const ostream & | _s | ) | const |
Description not yet available.
Definition at line 48 of file lvect_io.cpp.
Referenced by operator<<().
| void lvector::write_on | ( | const uostream & | _s | ) | const |
|
private |
Definition at line 659 of file fvar.hpp.
Referenced by allocate(), indexmax(), indexmin(), lvector(), operator!(), shift(), size(), and ~lvector().
|
private |
Definition at line 658 of file fvar.hpp.
Referenced by allocate(), elem(), initialize(), lvector(), operator()(), operator=(), operator[](), read_from(), shift(), write_on(), and ~lvector().
|
|
Generated on Wed Sep 7 2022 00:01:34 for ADMB Documentation by 1.8.5
|