ADMB Documentation
-a65f1c97
|
Holds "shape" information for vector objects. More...
#include <vector_shapex.h>
Public Member Functions | |
vector_shapex (int lb, int ub, void *p) | |
unsigned int | decr_ncopies (void) |
unsigned int | get_ncopies (void) |
void * | get_truepointer (void) |
Returns address of first element in the vector. More... | |
unsigned int | incr_ncopies (void) |
int | indexmax () |
int | indexmin () |
void | shift (int min) |
Description not yet available. More... | |
Public Attributes | |
int | index_max |
Maximum valid subscript. More... | |
int | index_min |
Minimum valid subscript. More... | |
unsigned int | ncopies |
Copy counter to enable shallow copies. More... | |
void * | trueptr |
Address of first element in the vector. More... | |
Friends | |
class | dvar_vector |
class | dvector |
class | ivector |
class | lvector |
class | ptr_vector |
class | subdvector |
Holds "shape" information for vector objects.
Definition at line 46 of file vector_shapex.h.
|
inline |
Definition at line 59 of file vector_shapex.h.
|
inline |
Definition at line 85 of file vector_shapex.h.
|
inline |
Definition at line 89 of file vector_shapex.h.
Referenced by ivector::get_ncopies(), and dvector::get_ncopies().
|
inline |
Returns address of first element in the vector.
Definition at line 64 of file vector_shapex.h.
Referenced by i4_array::deallocate(), and i5_array::deallocate().
|
inline |
Definition at line 93 of file vector_shapex.h.
|
inline |
Definition at line 101 of file vector_shapex.h.
Referenced by i4_array::hslicemax(), and i5_array::hslicemax().
|
inline |
Definition at line 97 of file vector_shapex.h.
Referenced by i4_array::hslicemin(), and i5_array::hslicemin().
void vector_shapex::shift | ( | int | min | ) |
Description not yet available.
Definition at line 33 of file shape.cpp.
Referenced by ivector::shift(), dvector::shift(), and dvar_vector::shift().
|
friend |
Definition at line 111 of file vector_shapex.h.
|
friend |
Definition at line 109 of file vector_shapex.h.
|
friend |
Definition at line 110 of file vector_shapex.h.
|
friend |
Definition at line 107 of file vector_shapex.h.
|
friend |
Definition at line 108 of file vector_shapex.h.
|
friend |
Definition at line 106 of file vector_shapex.h.
int vector_shapex::index_max |
Maximum valid subscript.
Definition at line 71 of file vector_shapex.h.
Referenced by indexmax(), shift(), and ivector::shift().
int vector_shapex::index_min |
Minimum valid subscript.
Definition at line 70 of file vector_shapex.h.
Referenced by indexmin(), shift(), and ivector::shift().
unsigned int vector_shapex::ncopies |
Copy counter to enable shallow copies.
Initialized to zero in constructor. Incremented by 1 in copy constructor. Decremented by 1 in destructor. Memory is freed when value of ncopies reaches zero in the destructor.
Definition at line 79 of file vector_shapex.h.
Referenced by imatrix::allocate(), dvector::allocate(), dvector::allocatec(), dvar_vector::allocatec(), df1b2vector::copy(), df3_one_vector::deallocate(), df1_one_vector::deallocate(), df1_two_vector::deallocate(), df1_three_vector::deallocate(), ivector::deallocate(), df3_three_vector::deallocate(), df3_two_vector::deallocate(), df1b2vector::deallocate(), dvar_vector::deallocate(), i4_array::deallocate(), i5_array::deallocate(), decr_ncopies(), df1_one_vector::df1_one_vector(), df1_three_vector::df1_three_vector(), df1_two_vector::df1_two_vector(), df1b23array::df1b23array(), df1b2vector::df1b2vector(), df3_one_vector::df3_one_vector(), df3_three_vector::df3_three_vector(), df3_two_vector::df3_two_vector(), dvar_vector::dvar_vector(), dvector::dvector(), get_ncopies(), dvar_vector::get_ncopies(), i4_array::get_ncopies(), i5_array::get_ncopies(), incr_ncopies(), ivector::ivector(), dvector::operator=(), dvar_vector::operator=(), dvector::safe_deallocate(), ivector::safe_deallocate(), dvector::shallow_copy(), ivector::shallow_copy(), dvar_vector::shallow_copy(), i4_array::shallow_copy(), i5_array::shallow_copy(), df1b23array::~df1b23array(), and dvector::~dvector().
void* vector_shapex::trueptr |
Address of first element in the vector.
Value set in allocate(...) function.
Definition at line 82 of file vector_shapex.h.
Referenced by df3_one_vector::deallocate(), df1_one_vector::deallocate(), df1_two_vector::deallocate(), df1_three_vector::deallocate(), dvector::deallocate(), ivector::deallocate(), df3_three_vector::deallocate(), df3_two_vector::deallocate(), df1b2vector::deallocate(), df1b23array::deallocate(), dvar_vector::deallocate(), and get_truepointer().
Generated on Wed Sep 7 2022 00:01:35 for ADMB Documentation by 1.8.5 |