Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SparseSymmetricMatrix< T > Class Template Reference
Inheritance diagram for SparseSymmetricMatrix< T >:
SparseMatrix< T >

Public Member Functions

template<class T2 >
PoissonVector< T2 > operator* (const PoissonVector< T2 > &V) const
 
template<class T2 >
PoissonVector< T2 > Multiply (const PoissonVector< T2 > &V) const
 
template<class T2 >
void Multiply (const PoissonVector< T2 > &In, PoissonVector< T2 > &Out, bool addDCTerm=false) const
 
template<class T2 >
void Multiply (const PoissonVector< T2 > &In, PoissonVector< T2 > &Out, MapReduceVector< T2 > &OutScratch, bool addDCTerm=false) const
 
template<class T2 >
void Multiply (const PoissonVector< T2 > &In, PoissonVector< T2 > &Out, std::vector< T2 * > &OutScratch, const std::vector< int > &bounds) const
 
template<class T2 >
void getDiagonal (PoissonVector< T2 > &diagonal) const
 
- Public Member Functions inherited from SparseMatrix< T >
 Pointer (int) rowSizes
 
 Pointer (Pointer(MatrixEntry< T >)) m_ppElements
 
 Pointer (MatrixEntry< T >) operator[](int idx)
 
 ConstPointer (MatrixEntry< T >) operator[](int idx) const
 
 SparseMatrix (int rows)
 
 SparseMatrix (int rows, int maxEntriesPerRow)
 
void Resize (int rows)
 
void Resize (int rows, int maxEntriesPerRow)
 
void SetRowSize (int row, int count)
 
int Entries (void) const
 
 SparseMatrix (const SparseMatrix &M)
 
void SetZero ()
 
void SetIdentity ()
 
SparseMatrix< T > & operator= (const SparseMatrix< T > &M)
 
SparseMatrix< T > operator* (const T &V) const
 
SparseMatrix< T > & operator*= (const T &V)
 
SparseMatrix< T > operator* (const SparseMatrix< T > &M) const
 
SparseMatrix< T > Multiply (const SparseMatrix< T > &M) const
 
SparseMatrix< T > MultiplyTranspose (const SparseMatrix< T > &Mt) const
 
template<class T2 >
PoissonVector< T2 > operator* (const PoissonVector< T2 > &V) const
 
template<class T2 >
PoissonVector< T2 > Multiply (const PoissonVector< T2 > &V) const
 
template<class T2 >
void Multiply (const PoissonVector< T2 > &In, PoissonVector< T2 > &Out, int threads=1) const
 
SparseMatrix< T > Transpose () const
 
bool write (FILE *fp) const
 
bool write (const char *fileName) const
 
bool read (FILE *fp)
 
bool read (const char *fileName)
 

Static Public Member Functions

template<class T2 >
static int Solve (const SparseSymmetricMatrix< T > &M, const PoissonVector< T2 > &b, int iters, PoissonVector< T2 > &solution, T2 eps=1e-8, int reset=1, int threads=0, bool addDCTerm=false, bool solveNormal=false)
 
template<class T2 >
static int Solve (const SparseSymmetricMatrix< T > &M, const PoissonVector< T2 > &b, int iters, PoissonVector< T2 > &solution, MapReduceVector< T2 > &scratch, T2 eps=1e-8, int reset=1, bool addDCTerm=false, bool solveNormal=false)
 
template<class T2 >
static int Solve (const SparseSymmetricMatrix< T > &M, const PoissonVector< T2 > &diagonal, const PoissonVector< T2 > &b, int iters, PoissonVector< T2 > &solution, int reset=1)
 
- Static Public Member Functions inherited from SparseMatrix< T >
static int Solve (const SparseMatrix< T > &M, const PoissonVector< T > &b, int iters, PoissonVector< T > &solution, const T eps=1e-8)
 
template<class T2 >
static int SolveSymmetric (const SparseMatrix< T > &M, const PoissonVector< T2 > &b, int iters, PoissonVector< T2 > &solution, const T2 eps=1e-8, int reset=1, int threads=1)
 

Additional Inherited Members

- Public Attributes inherited from SparseMatrix< T >
int rows
 

Detailed Description

template<class T>
class SparseSymmetricMatrix< T >

Definition at line 133 of file SparseMatrix.h.


The documentation for this class was generated from the following file: