MatrSps< C, R > Struct Template Reference

List of all members.

Detailed Description

template<class C, class R = sparse::rep2d<C>>
struct MatrSps< C, R >

Sparse matrices. These are matrices where only the non-zero coefficients are stored. Scalar multiplication (and division) as well as multiplication by a vector are available. Addition and substraction of sparse matrices are not provided. Row and column permutations are allowed.

Definition at line 24 of file MatrSps.h.

Public Types

typedef R::size_type size_type
typedef C value_type
typedef MatrSps< C, R > self_t

Public Member Functions

R & rep ()
const R & rep () const
 MatrSps ()
 MatrSps (const R &r)
 MatrSps (int m, int n)
 MatrSps (int m, int n, int nz)
 MatrSps (int m, int n, int nz, value_type *t, size_type *idx)
 MatrSps (const char *str)
 MatrSps (const self_t &M)
template<class T>
 MatrSps (const VAL< T > &M)
self_toperator= (const self_t &M)
template<class T>
self_toperator= (const VAL< T > &M)
self_ttranspose ()
size_type nbrow () const
size_type nbcol () const
size_type nzero () const
value_type operator() (size_type i, size_type j) const
self_toperator *= (const value_type &c)
self_toperator/= (const value_type &c)
self_tswaprow (size_type i, size_type j)
self_tswapcol (size_type, size_type)
self_tpermrow (size_type *pivot)
self_tpermcol (size_type *pivot)

Public Attributes

shared_object< R > data


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

SYNAPS DOCUMENTATION
logo