#include <SparseMatrix.h>
|
| template<class T2 > |
| static int | SolveJacobi (const SparseMatrix< T > &M, const T2 *b, T2 *x, T2 *Mx, T2 sor, int threads=1) |
| |
| template<class T2 > |
| static int | SolveJacobi (const SparseMatrix< T > &M, const T2 *diagonal, const T2 *b, T2 *x, T2 *Mx, T2 sor, int threads=1) |
| |
| template<class T2 > |
| static int | SolveGS (const SparseMatrix< T > &M, const T2 *b, T2 *x, bool forward) |
| |
| template<class T2 > |
| static int | SolveGS (const SparseMatrix< T > &M, const T2 *diagonal, const T2 *b, T2 *x, bool forward) |
| |
| template<class T2 > |
| static int | SolveGS (const std::vector< std::vector< int > > &mcIndices, const SparseMatrix< T > &M, const T2 *diagonal, const T2 *b, T2 *x, bool forward, int threads=1) |
| |
| template<class T2 > |
| static int | SolveGS (const std::vector< std::vector< int > > &mcIndices, const SparseMatrix< T > &M, const T2 *b, T2 *x, bool forward, int threads=1) |
| |
| template<class T2 > |
| static int | SolveCG (const SparseMatrix< T > &M, const T2 *b, int iters, T2 *x, T2 eps=1e-8, int reset=1, bool addDCTerm=false, bool solveNormal=false, int threads=1) |
| |
template<class T>
class SparseMatrix< T >
Definition at line 48 of file SparseMatrix.h.
◆ SparseMatrix() [1/4]
◆ SparseMatrix() [2/4]
◆ SparseMatrix() [3/4]
◆ SparseMatrix() [4/4]
◆ ~SparseMatrix()
◆ Entries()
◆ getDiagonal()
template<class T >
template<class T2 >
| void SparseMatrix< T >::getDiagonal |
( |
T2 * |
diagonal, |
|
|
int |
threads = 1 |
|
) |
| const |
◆ Multiply()
template<class T >
template<class T2 >
| void SparseMatrix< T >::Multiply |
( |
const T2 * |
in, |
|
|
T2 * |
out, |
|
|
int |
threads = 1 |
|
) |
| const |
◆ MultiplyAndAddAverage()
template<class T >
template<class T2 >
| void SparseMatrix< T >::MultiplyAndAddAverage |
( |
const T2 * |
in, |
|
|
T2 * |
out, |
|
|
int |
threads = 1 |
|
) |
| const |
◆ operator*()
◆ operator*=()
◆ operator=()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ read() [1/2]
◆ read() [2/2]
◆ Resize() [1/2]
◆ Resize() [2/2]
template<class T >
| void SparseMatrix< T >::Resize |
( |
int |
rows, |
|
|
int |
maxEntriesPerRow |
|
) |
| |
◆ SetRowSize()
◆ SetZero()
◆ SolveCG()
template<class T >
template<class T2 >
| static int SparseMatrix< T >::SolveCG |
( |
const SparseMatrix< T > & |
M, |
|
|
const T2 * |
b, |
|
|
int |
iters, |
|
|
T2 * |
x, |
|
|
T2 |
eps = 1e-8, |
|
|
int |
reset = 1, |
|
|
bool |
addDCTerm = false, |
|
|
bool |
solveNormal = false, |
|
|
int |
threads = 1 |
|
) |
| |
|
static |
◆ SolveGS() [1/4]
template<class T >
template<class T2 >
◆ SolveGS() [2/4]
template<class T >
template<class T2 >
| static int SparseMatrix< T >::SolveGS |
( |
const SparseMatrix< T > & |
M, |
|
|
const T2 * |
diagonal, |
|
|
const T2 * |
b, |
|
|
T2 * |
x, |
|
|
bool |
forward |
|
) |
| |
|
static |
◆ SolveGS() [3/4]
template<class T >
template<class T2 >
| static int SparseMatrix< T >::SolveGS |
( |
const std::vector< std::vector< int > > & |
mcIndices, |
|
|
const SparseMatrix< T > & |
M, |
|
|
const T2 * |
b, |
|
|
T2 * |
x, |
|
|
bool |
forward, |
|
|
int |
threads = 1 |
|
) |
| |
|
static |
◆ SolveGS() [4/4]
template<class T >
template<class T2 >
| static int SparseMatrix< T >::SolveGS |
( |
const std::vector< std::vector< int > > & |
mcIndices, |
|
|
const SparseMatrix< T > & |
M, |
|
|
const T2 * |
diagonal, |
|
|
const T2 * |
b, |
|
|
T2 * |
x, |
|
|
bool |
forward, |
|
|
int |
threads = 1 |
|
) |
| |
|
static |
◆ SolveJacobi() [1/2]
template<class T >
template<class T2 >
| static int SparseMatrix< T >::SolveJacobi |
( |
const SparseMatrix< T > & |
M, |
|
|
const T2 * |
b, |
|
|
T2 * |
x, |
|
|
T2 * |
Mx, |
|
|
T2 |
sor, |
|
|
int |
threads = 1 |
|
) |
| |
|
static |
◆ SolveJacobi() [2/2]
template<class T >
template<class T2 >
| static int SparseMatrix< T >::SolveJacobi |
( |
const SparseMatrix< T > & |
M, |
|
|
const T2 * |
diagonal, |
|
|
const T2 * |
b, |
|
|
T2 * |
x, |
|
|
T2 * |
Mx, |
|
|
T2 |
sor, |
|
|
int |
threads = 1 |
|
) |
| |
|
static |
◆ write() [1/2]
template<class T >
| bool SparseMatrix< T >::write |
( |
const char * |
fileName | ) |
const |
◆ write() [2/2]
◆ m_ppElements
◆ rows
◆ rowSizes
The documentation for this class was generated from the following file:
- /root/ACloudViewer/libs/Reconstruction/lib/PoissonRecon/SparseMatrix.h