![]() |
Documentation 6b54b78464
|
The matrix is symmetric but full storage is used as that gives much better performance for some BLAS libraries (notably OpenBLAS). The code should be compiled with LAPACK to use optimized matrix inversion and multiplication routines. More...
#include <CSymmetricMatrix.hpp>
Public Member Functions | |
| CSymmetricMatrix ()=default | |
| CSymmetricMatrix (int N) | |
| void | Initialize (int N) |
| int | Size () const |
| passivedouble | Get (int i, int j) const |
| void | Set (int i, int j, passivedouble val) |
| passivedouble & | operator() (int i, int j) |
| const passivedouble & | operator() (int i, int j) const |
| template<class ForwardIt > | |
| void | MatVecMult (ForwardIt vec_in, ForwardIt vec_out) const |
| void | MatMatMult (const char side, const su2passivematrix &mat_in, su2passivematrix &mat_out) const |
| void | Invert (bool is_spd=false) |
| su2passivematrix | StealData () |
The matrix is symmetric but full storage is used as that gives much better performance for some BLAS libraries (notably OpenBLAS). The code should be compiled with LAPACK to use optimized matrix inversion and multiplication routines.
|
default |
|
inline |
|
inline |
| void CSymmetricMatrix::Initialize | ( | int | N | ) |
| void CSymmetricMatrix::Invert | ( | bool | is_spd = false | ) |
| void CSymmetricMatrix::MatMatMult | ( | const char | side, |
| const su2passivematrix & | mat_in, | ||
| su2passivematrix & | mat_out | ||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| su2passivematrix CSymmetricMatrix::StealData | ( | ) |