|
| SparseVectorTemplate (size_t n) |
|
| SparseVectorTemplate (const BaseT &v) |
|
void | print (std::ostream &) const |
|
SparseVectorAccessor< T > | operator() (int i) |
|
SparseVectorAccessor< T > | operator[] (int i) |
|
T | operator() (int i) const |
|
T | operator[] (int i) const |
|
T | get (int i) const |
|
void | set (int i, const T &t) |
|
void | setZero () |
|
void | set (const BaseT &v) |
|
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 | copy (const MyT &) |
|
void | copySubVector (int i, const MyT &) |
|
void | copySubVector (int i, const VectorT &, T zeroTol=0) |
|
void | swap (MyT &) |
|
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 | isEmpty () const |
|
bool | hasDims (size_t _n) 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 |
|
template<> |
Complex | minElement (int *index) const |
|
template<> |
Complex | maxElement (int *index) const |
|
template<> |
Complex | minAbsElement (int *index) const |
|
template<> |
Complex | maxAbsElement (int *index) const |
|
| SparseArray (size_t _n) |
|
void | resize (size_t _n) |
|
void | clear () |
|
bool | empty () const |
|
size_t | size () const |
|
size_t | numEntries () const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
iterator | insert (int i, const T &t) |
|
iterator | push_back (int i, const T &t) |
|
iterator | find (int i) |
|
const_iterator | find (int i) const |
|
bool | erase (int i) |
|
void | erase (const iterator &it) |
|
bool | isValidIndex (int i) const |
|
bool | isValid () const |
|
bool | Read (File &f) |
|
bool | Write (File &f) const |
|