#include <sparse_matrix.h>
Public Member Functions | |
int | Entries (void) |
SparseMatrix< T > | Multiply (const SparseMatrix< T > &M) const |
template<class T2 > | |
Vector< T2 > | Multiply (const Vector< T2 > &V) const |
template<class T2 > | |
void | Multiply (const Vector< T2 > &In, Vector< T2 > &Out) const |
SparseMatrix< T > | MultiplyTranspose (const SparseMatrix< T > &Mt) const |
SparseMatrix< T > | operator* (const T &V) const |
SparseMatrix< T > | operator* (const SparseMatrix< T > &M) const |
template<class T2 > | |
Vector< T2 > | operator* (const Vector< T2 > &V) const |
SparseMatrix< T > & | operator*= (const T &V) |
SparseMatrix< T > & | operator= (const SparseMatrix< T > &M) |
void | Resize (int rows) |
void | SetIdentity () |
void | SetRowSize (int row, int count) |
void | SetZero () |
SparseMatrix () | |
SparseMatrix (int rows) | |
SparseMatrix (const SparseMatrix &M) | |
SparseMatrix< T > | Transpose () const |
virtual | ~SparseMatrix () |
Static Public Member Functions | |
static void | SetAllocator (const int &blockSize) |
static int | Solve (const SparseMatrix< T > &M, const Vector< T > &b, const int &iters, Vector< T > &solution, const T eps=1e-8) |
template<class T2 > | |
static int | SolveSymmetric (const SparseMatrix< T > &M, const Vector< T2 > &b, const int &iters, Vector< T2 > &solution, const T2 eps=1e-8, const int &reset=1) |
static int | UseAllocator (void) |
Public Attributes | |
MatrixEntry< T > ** | m_ppElements |
int | rows |
int * | rowSizes |
Static Public Attributes | |
static Allocator< MatrixEntry < T > > | AllocatorMatrixEntry |
Static Private Attributes | |
static int | UseAlloc = 0 |
Definition at line 70 of file sparse_matrix.h.
pcl::poisson::SparseMatrix< T >::SparseMatrix | ( | ) |
Definition at line 72 of file sparse_matrix.hpp.
pcl::poisson::SparseMatrix< T >::SparseMatrix | ( | int | rows | ) |
Definition at line 78 of file sparse_matrix.hpp.
pcl::poisson::SparseMatrix< T >::SparseMatrix | ( | const SparseMatrix< T > & | M | ) |
Definition at line 85 of file sparse_matrix.hpp.
pcl::poisson::SparseMatrix< T >::~SparseMatrix | ( | ) | [virtual] |
Definition at line 122 of file sparse_matrix.hpp.
int pcl::poisson::SparseMatrix< T >::Entries | ( | void | ) |
Definition at line 99 of file sparse_matrix.hpp.
SparseMatrix< T > pcl::poisson::SparseMatrix< T >::Multiply | ( | const SparseMatrix< T > & | M | ) | const |
Definition at line 202 of file sparse_matrix.hpp.
Vector< T2 > pcl::poisson::SparseMatrix< T >::Multiply | ( | const Vector< T2 > & | V | ) | const |
Reimplemented in pcl::poisson::SparseSymmetricMatrix< T >.
Definition at line 219 of file sparse_matrix.hpp.
void pcl::poisson::SparseMatrix< T >::Multiply | ( | const Vector< T2 > & | In, |
Vector< T2 > & | Out | ||
) | const |
Reimplemented in pcl::poisson::SparseSymmetricMatrix< T >.
Definition at line 236 of file sparse_matrix.hpp.
SparseMatrix<T> pcl::poisson::SparseMatrix< T >::MultiplyTranspose | ( | const SparseMatrix< T > & | Mt | ) | const |
SparseMatrix< T > pcl::poisson::SparseMatrix< T >::operator* | ( | const T & | V | ) | const |
Definition at line 182 of file sparse_matrix.hpp.
SparseMatrix< T > pcl::poisson::SparseMatrix< T >::operator* | ( | const SparseMatrix< T > & | M | ) | const |
Definition at line 247 of file sparse_matrix.hpp.
Vector< T2 > pcl::poisson::SparseMatrix< T >::operator* | ( | const Vector< T2 > & | V | ) | const |
Reimplemented in pcl::poisson::SparseSymmetricMatrix< T >.
Definition at line 254 of file sparse_matrix.hpp.
SparseMatrix< T > & pcl::poisson::SparseMatrix< T >::operator*= | ( | const T & | V | ) |
Definition at line 191 of file sparse_matrix.hpp.
SparseMatrix< T > & pcl::poisson::SparseMatrix< T >::operator= | ( | const SparseMatrix< T > & | M | ) |
Definition at line 110 of file sparse_matrix.hpp.
void pcl::poisson::SparseMatrix< T >::Resize | ( | int | rows | ) |
Definition at line 126 of file sparse_matrix.hpp.
void pcl::poisson::SparseMatrix< T >::SetAllocator | ( | const int & | blockSize | ) | [static] |
Definition at line 59 of file sparse_matrix.hpp.
void pcl::poisson::SparseMatrix< T >::SetIdentity | ( | ) |
Definition at line 173 of file sparse_matrix.hpp.
void pcl::poisson::SparseMatrix< T >::SetRowSize | ( | int | row, |
int | count | ||
) |
Definition at line 147 of file sparse_matrix.hpp.
void pcl::poisson::SparseMatrix< T >::SetZero | ( | ) |
Definition at line 166 of file sparse_matrix.hpp.
int pcl::poisson::SparseMatrix< T >::Solve | ( | const SparseMatrix< T > & | M, |
const Vector< T > & | b, | ||
const int & | iters, | ||
Vector< T > & | solution, | ||
const T | eps = 1e-8 |
||
) | [static] |
Definition at line 314 of file sparse_matrix.hpp.
int pcl::poisson::SparseMatrix< T >::SolveSymmetric | ( | const SparseMatrix< T > & | M, |
const Vector< T2 > & | b, | ||
const int & | iters, | ||
Vector< T2 > & | solution, | ||
const T2 | eps = 1e-8 , |
||
const int & | reset = 1 |
||
) | [static] |
Definition at line 276 of file sparse_matrix.hpp.
SparseMatrix< T > pcl::poisson::SparseMatrix< T >::Transpose | ( | ) | const |
Definition at line 261 of file sparse_matrix.hpp.
int pcl::poisson::SparseMatrix< T >::UseAllocator | ( | void | ) | [static] |
Definition at line 57 of file sparse_matrix.hpp.
Allocator< MatrixEntry< T > > pcl::poisson::SparseMatrix< T >::AllocatorMatrixEntry [static] |
Definition at line 75 of file sparse_matrix.h.
MatrixEntry<T>** pcl::poisson::SparseMatrix< T >::m_ppElements |
Definition at line 81 of file sparse_matrix.h.
int pcl::poisson::SparseMatrix< T >::rows |
Definition at line 79 of file sparse_matrix.h.
int* pcl::poisson::SparseMatrix< T >::rowSizes |
Definition at line 80 of file sparse_matrix.h.
int pcl::poisson::SparseMatrix< T >::UseAlloc = 0 [static, private] |
Definition at line 73 of file sparse_matrix.h.