|
| IntIndex_T (const Vector< I > &vi_p) |
|
bool | getfirst (idx_type &iv, idx_type &ii) const |
|
bool | getnext (idx_type &iv, idx_type &ii) const |
|
size_t | trueSize () const |
|
size_t | size () const |
|
template<typename T > |
void | subset (Vector< T > &rv, const Vector< T > &v) const |
| Subset 'v' and store in 'rv'.
|
|
template<typename T > |
void | subset (Vector< T > &rv, const Vector< T > &v, idx_type &ii, idx_type pos) const |
|
template<typename T , typename U > |
void | subassign (Vector< T > &rv, const U &u, idx_type &vj) const |
|
template<typename T , typename U > |
void | subassignScalar (Vector< T > &rv, U u) const |
|
void | selectNames (Dname &tonames, const Dname &fromnames) const |
|
◆ subassign()
template<typename I >
template<typename T , typename U >
We need to reorder vi (and index accordingly into v) because this is the only way to determine the ordering is correct after subassign (excluding checking the whole of the vector which is unacceptedly expensive).
◆ subset()
template<typename I >
template<typename T >
Subset and store state in 'ii' (index for index). 'pos' is the index into 'v' when considered as a vector. This is useful in order to subset a matrix as if it were a vector. This function is called repeatedly on the columns of the matrix.
The documentation for this struct was generated from the following file: