Blender V2.61 - r43446
|
#include <fspvec.h>
Public Types | |
typedef Subscript | size_type |
typedef T | value_type |
typedef T | element_type |
typedef T * | pointer |
typedef T * | iterator |
typedef T & | reference |
typedef const T * | const_iterator |
typedef const T & | const_reference |
Public Member Functions | |
Subscript | lbound () const |
Subscript | dim () const |
Subscript | num_nonzeros () const |
T & | val (Subscript i) |
const T & | val (Subscript i) const |
Subscript & | index (Subscript i) |
const Subscript & | index (Subscript i) const |
Fortran_Sparse_Vector () | |
Fortran_Sparse_Vector (Subscript N, Subscript nz) | |
Fortran_Sparse_Vector (Subscript N, Subscript nz, const T *values, const Subscript *indices) | |
Fortran_Sparse_Vector (const Fortran_Sparse_Vector< T > &S) | |
Fortran_Sparse_Vector (Subscript N, Subscript nz, char *v, char *ind) | |
Fortran_Sparse_Vector< T > & | newsize (Subscript N, Subscript nz) |
Fortran_Sparse_Vector< T > & | operator= (const Fortran_Sparse_Vector< T > &A) |
Protected Attributes | |
Vector< T > | val_ |
Vector< Subscript > | index_ |
Subscript | dim_ |
typedef const T* TNT::Fortran_Sparse_Vector< T >::const_iterator |
typedef const T& TNT::Fortran_Sparse_Vector< T >::const_reference |
typedef T TNT::Fortran_Sparse_Vector< T >::element_type |
typedef T* TNT::Fortran_Sparse_Vector< T >::iterator |
typedef T* TNT::Fortran_Sparse_Vector< T >::pointer |
typedef T& TNT::Fortran_Sparse_Vector< T >::reference |
typedef Subscript TNT::Fortran_Sparse_Vector< T >::size_type |
typedef T TNT::Fortran_Sparse_Vector< T >::value_type |
TNT::Fortran_Sparse_Vector< T >::Fortran_Sparse_Vector | ( | ) | [inline] |
TNT::Fortran_Sparse_Vector< T >::Fortran_Sparse_Vector | ( | Subscript | N, |
Subscript | nz | ||
) | [inline] |
TNT::Fortran_Sparse_Vector< T >::Fortran_Sparse_Vector | ( | Subscript | N, |
Subscript | nz, | ||
const T * | values, | ||
const Subscript * | indices | ||
) | [inline] |
TNT::Fortran_Sparse_Vector< T >::Fortran_Sparse_Vector | ( | const Fortran_Sparse_Vector< T > & | S | ) | [inline] |
TNT::Fortran_Sparse_Vector< T >::Fortran_Sparse_Vector | ( | Subscript | N, |
Subscript | nz, | ||
char * | v, | ||
char * | ind | ||
) | [inline] |
Subscript TNT::Fortran_Sparse_Vector< T >::dim | ( | ) | const [inline] |
Subscript& TNT::Fortran_Sparse_Vector< T >::index | ( | Subscript | i | ) | [inline] |
Definition at line 83 of file fspvec.h.
Referenced by TNT::operator>>().
const Subscript& TNT::Fortran_Sparse_Vector< T >::index | ( | Subscript | i | ) | const [inline] |
Subscript TNT::Fortran_Sparse_Vector< T >::lbound | ( | ) | const [inline] |
Fortran_Sparse_Vector<T>& TNT::Fortran_Sparse_Vector< T >::newsize | ( | Subscript | N, |
Subscript | nz | ||
) | [inline] |
Definition at line 107 of file fspvec.h.
References N, and TNT::Fortran_Sparse_Vector< T >::newsize().
Referenced by TNT::Fortran_Sparse_Vector< T >::newsize(), and TNT::operator>>().
Subscript TNT::Fortran_Sparse_Vector< T >::num_nonzeros | ( | ) | const [inline] |
Fortran_Sparse_Vector<T>& TNT::Fortran_Sparse_Vector< T >::operator= | ( | const Fortran_Sparse_Vector< T > & | A | ) | [inline] |
Definition at line 115 of file fspvec.h.
References TNT::Fortran_Sparse_Vector< T >::dim_, TNT::Fortran_Sparse_Vector< T >::index_, and TNT::Fortran_Sparse_Vector< T >::val_.
const T& TNT::Fortran_Sparse_Vector< T >::val | ( | Subscript | i | ) | const [inline] |
T& TNT::Fortran_Sparse_Vector< T >::val | ( | Subscript | i | ) | [inline] |
Definition at line 80 of file fspvec.h.
Referenced by TNT::operator>>().
Subscript TNT::Fortran_Sparse_Vector< T >::dim_ [protected] |
Definition at line 68 of file fspvec.h.
Referenced by TNT::Fortran_Sparse_Vector< T >::operator=().
Vector<Subscript> TNT::Fortran_Sparse_Vector< T >::index_ [protected] |
Definition at line 67 of file fspvec.h.
Referenced by TNT::Fortran_Sparse_Vector< T >::operator=().
Vector<T> TNT::Fortran_Sparse_Vector< T >::val_ [protected] |
Definition at line 66 of file fspvec.h.
Referenced by TNT::Fortran_Sparse_Vector< T >::operator=().