|
| SparseVectorCompressed (int n, int num_entries) |
|
| SparseVectorCompressed (const MyT &) |
|
void | init (int n, int num_entries) |
|
void | resize (int n, int num_entries) |
|
void | makeSimilar (const MyT &) |
|
void | cleanup () |
|
bool | Read (File &) |
|
bool | Write (File &) const |
|
void | print (std::ostream &) const |
|
const MyT & | operator= (const MyT &) |
|
T | operator() (int i) const |
|
void | setZero () |
|
void | set (const MyT &) |
|
void | set (const VectorT &, T zeroTol=Zero) |
|
void | set (const T *, int n, T zeroTol=Zero) |
|
void | get (T *) const |
|
void | get (VectorT &) const |
|
void | inplaceNegative () |
|
void | inplaceMul (T s) |
|
void | inplaceDiv (T s) |
|
void | add (const MyT &, const MyT &) |
|
void | sub (const MyT &, const MyT &) |
|
void | mul (const MyT &, T s) |
|
void | div (const MyT &, T s) |
|
T | dot (const VectorT &) const |
|
T | dot (const MyT &) const |
|
T | norm () const |
|
T | normSquared () const |
|
T | distance (const MyT &) const |
|
T | distanceSquared (const MyT &) const |
|
bool | isValid () const |
|
bool | isEmpty () const |
|
bool | hasDims (int _n) const |
|
bool | isValidIndex (int i) const |
|
T | minElement (int *index=NULL) const |
|
T | maxElement (int *index=NULL) const |
|
T | minAbsElement (int *index=NULL) const |
|
T | maxAbsElement (int *index=NULL) const |
|
|
int * | indices |
|
T * | vals |
|
int | num_entries |
|
int | n |
|
The documentation for this class was generated from the following files: