Public Types | Public Member Functions | Friends

SparseMatrixCSR< size_type, T > Class Template Reference

Inheritance diagram for SparseMatrixCSR< size_type, T >:
MatrixBase< size_type, T >

Public Types

typedef size_type * column_iterator
typedef T * value_iterator

Public Member Functions

 SparseMatrixCSR (size_type const row, size_type const col, size_type const count)
 SparseMatrixCSR (const size_type row, const size_type col, const size_type count, size_type *indx, T *val, size_type *cols)
 SparseMatrixCSR (const SparseMatrixCSR< size_type, T > &a)
size_type * get_index () const
void init (const size_type row, const size_type col, const size_type count, size_type *indx, T *vals, size_type *cols)
void clear ()
SparseMatrixCSR< size_type, T > & operator= (const SparseMatrixCSR< size_type, T > &a)
SparseMatrixCSR< size_type, T > & operator= (const SparseMatrixCSC< size_type, T > &a)
DenseVector< size_type, T > friend operator* (const SparseMatrixCSR< size_type, T > &, const DenseVector< size_type, T > &)
SparseMatrixCSR< size_type, T >
friend 
operator* (double const, const SparseMatrixCSR< size_type, T > &)
SparseMatrixCSR< size_type, T >
friend 
operator* (size_type const, const SparseMatrixCSR< size_type, T > &)
void fill (size_type const *const indx, T const *const val, size_type const *const cols)
size_type col_index (size_type row) const
T * col_values_begin (size_type row)
T * col_values_end (size_type row)
size_type * col_indices_begin (size_type row)
size_type column (size_type j)
size_type * col_indices_end (size_type row)
void MatrixPrint (char const *name) const
size_type MatrixRows () const
size_type MatrixCols () const

Friends

DenseVector< size_type, T >
friend diagonal 
BRAKET (const SparseMatrixCSR< size_type, T > &)
DenseVector< size_type, T >
friend Transpose_SMVm 
BRAKET (const SparseMatrixCSR< size_type, T > &, const DenseVector< size_type, T > &)

template<typename size_type, typename T = double>
class SparseMatrixCSR< size_type, T >


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