KrisLibrary  1.0.0
Classes | Namespaces | Typedefs | Functions
SparseMatrixTemplate.h File Reference

Several sparse matrix classes. More...

#include "MatrixTemplate.h"
#include "VectorTemplate.h"
#include "SparseVectorTemplate.h"
#include <vector>

Go to the source code of this file.

Classes

class  Math::SparseMatrixTemplate_RM< T >
 Row-major sparse matrix. More...
 
class  Math::SparseMatrixTemplate_CR< T >
 Row-major, compressed-row sparse matrix. More...
 

Namespaces

 Math
 Contains all definitions in the Math package.
 

Typedefs

typedef SparseMatrixTemplate_RM< float > Math::fSparseMatrix_RM
 
typedef SparseMatrixTemplate_RM< double > Math::dSparseMatrix_RM
 
typedef SparseMatrixTemplate_RM< Complex > Math::cSparseMatrix_RM
 
typedef SparseMatrixTemplate_CR< float > Math::fSparseMatrix_CR
 
typedef SparseMatrixTemplate_CR< double > Math::dSparseMatrix_CR
 
typedef SparseMatrixTemplate_CR< Complex > Math::cSparseMatrix_CR
 

Functions

template<class T >
bool Math::IsFinite (const SparseMatrixTemplate_RM< T > &x)
 returns true if all elements of x are finite
 
template<class T >
std::ostream & Math::operator<< (std::ostream &out, const SparseMatrixTemplate_RM< T > &A)
 
template<class T >
std::istream & Math::operator>> (std::istream &in, SparseMatrixTemplate_RM< T > &A)
 
template<class T >
std::ostream & Math::operator<< (std::ostream &, const SparseMatrixTemplate_CR< T > &)
 

Detailed Description

Several sparse matrix classes.

Conventions:

Individual functionality varies.