![]() |
PeriDyno 1.0.0
|
#include <SparseMatrix.h>
Public Types | |
typedef DArrayMap< VarType > | SparseM |
typedef DArray< VarType > | SparseV |
typedef DArrayMap< VarType > | SparseM |
typedef DArray< VarType > | SparseV |
Public Member Functions | |
SparseMatrix () | |
~SparseMatrix () | |
Do not release memory here, call clear() explicitly. | |
void | clear () |
Free allocated memory. Should be called before the object is deleted. | |
void | assign_cgls (CArray< VarType > &s_b, std::vector< std::map< int, VarType > > &s_matrix, std::vector< std::map< int, VarType > > &s_matrix_transposed) |
void | CGLS (int i_max, VarType threshold) |
const SparseV & | X () const |
SparseMatrix () | |
~SparseMatrix () | |
Do not release memory here, call clear() explicitly. | |
void | clear () |
Free allocated memory. Should be called before the object is deleted. | |
void | assign_cgls (CArray< VarType > &s_b, std::vector< std::map< int, VarType > > &s_matrix, std::vector< std::map< int, VarType > > &s_matrix_transposed) |
void | CGLS (int i_max, VarType threshold) |
const SparseV & | X () const |
Private Attributes | |
SparseM | my_A |
SparseM | my_transposedA |
SparseV | my_x |
SparseV | my_b |
Definition at line 25 of file SparseMatrix.h.
typedef DArrayMap<VarType> dyno::SparseMatrix< VarType >::SparseM |
Definition at line 28 of file SparseMatrix.h.
typedef DArrayMap<VarType> dyno::SparseMatrix< VarType >::SparseM |
Definition at line 28 of file SparseMatrix.h.
typedef DArray<VarType> dyno::SparseMatrix< VarType >::SparseV |
Definition at line 29 of file SparseMatrix.h.
typedef DArray<VarType> dyno::SparseMatrix< VarType >::SparseV |
Definition at line 29 of file SparseMatrix.h.
|
inline |
Definition at line 31 of file SparseMatrix.h.
|
inline |
Do not release memory here, call clear() explicitly.
Definition at line 36 of file SparseMatrix.h.
|
inline |
Definition at line 31 of file SparseMatrix.h.
|
inline |
Do not release memory here, call clear() explicitly.
Definition at line 36 of file SparseMatrix.h.
void dyno::SparseMatrix< VarType >::assign_cgls | ( | CArray< VarType > & | s_b, |
std::vector< std::map< int, VarType > > & | s_matrix, | ||
std::vector< std::map< int, VarType > > & | s_matrix_transposed ) |
Definition at line 20 of file SparseMatrix.inl.
void dyno::SparseMatrix< VarType >::assign_cgls | ( | CArray< VarType > & | s_b, |
std::vector< std::map< int, VarType > > & | s_matrix, | ||
std::vector< std::map< int, VarType > > & | s_matrix_transposed ) |
void dyno::SparseMatrix< VarType >::CGLS | ( | int | i_max, |
VarType | threshold ) |
void dyno::SparseMatrix< VarType >::CGLS | ( | int | i_max, |
VarType | threshold ) |
void dyno::SparseMatrix< VarType >::clear | ( | ) |
Free allocated memory. Should be called before the object is deleted.
Definition at line 11 of file SparseMatrix.inl.
void dyno::SparseMatrix< VarType >::clear | ( | ) |
Free allocated memory. Should be called before the object is deleted.
|
inline |
Definition at line 47 of file SparseMatrix.h.
|
inline |
Definition at line 47 of file SparseMatrix.h.
|
private |
Definition at line 50 of file SparseMatrix.h.
|
private |
Definition at line 54 of file SparseMatrix.h.
|
private |
Definition at line 51 of file SparseMatrix.h.
|
private |
Definition at line 53 of file SparseMatrix.h.