Classes | |
class | matrix |
Sparse Matrix Template Class (row major). More... | |
class | c_matrix |
Sparse Matrix Template Class (column major). More... | |
class | sparse_vector |
Sparse Vector Template Class. More... | |
class | __linalg_cvec |
Adapter class for a const std::vector to a linear algebra vector. More... | |
class | __linalg_vec |
Adapter class for a std::vector to a linear algebra vector. More... | |
Enumerations | |
enum | linalg_output_format { linalg_output_sparse, linalg_output_full } |
The possible output formats of a matrix. More... | |
Functions | |
template<class _Tp > | |
matrix< _Tp > | operator+ (const matrix< _Tp > &A, const matrix< _Tp > &B) |
Sparse matrix addition operator. | |
template<class _Tp > | |
matrix< _Tp > | operator* (_Tp a, const matrix< _Tp > &B) |
Sparse scalar matrix multiplication operator. | |
template<class _Tp > | |
c_matrix< _Tp > | operator+ (const c_matrix< _Tp > &A, const c_matrix< _Tp > &B) |
Sparse matrix addition operator. | |
template<class _Tp > | |
c_matrix< _Tp > | operator* (_Tp a, const c_matrix< _Tp > &B) |
Sparse matrix scalar multiplication operator. | |
template<class _Tp > | |
bool | operator== (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b) |
Sparse vector comparison operator. | |
template<class _Tp > | |
sparse_vector< _Tp > | operator+ (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b) |
Sparse vector addition operator. | |
template<class _Tp > | |
_Tp | operator* (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b) |
Sparse vector scalar product operator. | |
template<class _Tp > | |
sparse_vector< _Tp > | operator* (_Tp a, const sparse_vector< _Tp > &b) |
Sparse vector scaling operator. | |
template<class _Ve > | |
std::vector< _Ve > & | linalg_ssum (std::vector< _Ve > &a, _Ve b, const std::vector< _Ve > &c) |
template<class _Ve > | |
std::vector< _Ve > & | linalg_smult (std::vector< _Ve > &a, _Ve b) |
template<class _TS > | |
_TS | linalg_dot (const std::vector< _TS > &a, const std::vector< _TS > &b, _TS s) |
template<class _Va , class _TS > | |
_TS | linalg_dot (const _Va &a, const std::vector< _TS > &b, _TS s) |
template<class _Vb , class _TS > | |
_TS | linalg_dot (const std::vector< _TS > &a, const _Vb &b, _TS s) |
template<class _Va , class _Vb , class _TS > | |
_TS | linalg_dot (const _Va &a, const _Vb &b, _TS s) |
template<class _TS > | |
void | linalg_add (const std::vector< _TS > &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Va , class _TS > | |
void | linalg_add (const _Va &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Vb , class _TS > | |
void | linalg_add (const std::vector< _TS > &a, const _Vb &b, std::vector< _TS > &c) |
template<class _TS , class _Vc > | |
void | linalg_add (const std::vector< _TS > &a, const std::vector< _TS > &b, _Vc &c) |
template<class _Va , class _Vb , class _TS > | |
void | linalg_add (const _Va &a, const _Vb &b, std::vector< _TS > &c) |
template<class _Va , class _TS , class _Vc > | |
void | linalg_add (const _Va &a, const std::vector< _TS > &b, _Vc &c) |
template<class _TS , class _Vb , class _Vc > | |
void | linalg_add (const std::vector< _TS > &a, const _Vb &b, _Vc &c) |
template<class _Va , class _Vb , class _Vc > | |
void | linalg_add (const _Va &a, const _Vb &b, _Vc &c) |
template<class _Matrix , class _TS > | |
void | linalg_matvec (const _Matrix &A, const std::vector< _TS > &a, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Va > | |
void | linalg_matvec (const _Matrix &A, const _Va &a, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Vc > | |
void | linalg_matvec (const _Matrix &A, const std::vector< _TS > &a, _Vc &c) |
template<class _Matrix , class _Va , class _Vc > | |
void | linalg_matvec (const _Matrix &A, const _Va &a, _Vc &c) |
template<class _Matrix , class _TS > | |
void | linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Va > | |
void | linalg_matvecv (const _Matrix &A, const _Va &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Vb > | |
void | linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const _Vb &b, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Vc > | |
void | linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const std::vector< _TS > &b, _Vc &c) |
template<class _Matrix , class _Va , class _Vb , class _TS > | |
void | linalg_matvecv (const _Matrix &A, _Va &a, const _Vb &b, const std::vector< _TS > &c) |
template<class _Matrix , class _Va , class _TS , class _Vc > | |
void | linalg_matvecv (const _Matrix &A, const _Va &a, const std::vector< _TS > &b, _Vc &c) |
template<class _Matrix , class _TS , class _Vb , class _Vc > | |
void | linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const _Vb &b, _Vc &c) |
template<class _Matrix , class _Va , class _Vb , class _Vc > | |
void | linalg_matvecv (const _Matrix &A, const _Va &a, const _Vb &b, _Vc &c) |