Givaro
Public Types | Public Member Functions
MatrixDom< Domain, Sparse > Class Template Reference

#include <givmatsparse.h>

Public Types

typedef Domain Domain_t
 
typedef Domain::Rep Type_t
 
typedef int Indice_t
 
typedef Dense StorageTag_t
 
typedef RetMatrixStorage< Type_t, Sparse >::Storage_t Storage_t
 
typedef Storage_t Rep
 
typedef MatrixDom< Domain, SparseSelf_t
 

Public Member Functions

 ~MatrixDom ()
 
 MatrixDom ()
 
 MatrixDom (const Domain &D)
 
 MatrixDom (const Self_t &M)
 
void init (Rep &r, Indice_t nr, Indice_t nc) const
 
void init (Rep &r) const
 
void init (Rep &A, const Rep &B) const
 
void assign (Rep &r, const Rep &a) const
 
int areEqual (const Rep &P, const Rep &Q) const
 
int areNEqual (const Rep &P, const Rep &Q) const
 
int iszero (const Rep &P) const
 
Indice_t nrow (const Rep &A) const
 
Indice_t ncol (const Rep &A) const
 
Domain_t subdomain () const
 
void mulin (Rep &res, const Type_t &u) const
 
void mul (Rep &res, const Type_t &u, const Rep &v) const
 
void mul (Rep &res, const Rep &u, const Type_t &v) const
 
void mul (VectorDom< Domain, Dense >::Rep &res, const Rep &M, const VectorDom< Domain, Dense > &VD, const VectorDom< Domain, Dense >::Rep &u) const
 
void multrans (typename VectorDom< Domain, Dense >::Rep &res, const Rep &M, const VectorDom< Domain, Dense > &VS, const typename VectorDom< Domain, Dense >::Rep &u) const
 
void negin (Rep &P) const
 
void neg (Rep &res, const Rep &u) const
 
template<class OP >
void map (Rep &res, OP &op) const
 
template<class OP >
void map (Rep &res, OP &op, const Rep &u) const
 
istream & read (istream &s)
 
ostream & write (ostream &s) const
 
istream & read (istream &s, Rep &r) const
 
ostream & write (ostream &s, const Rep &r) const
 
void compact (Rep &Ms, const MatrixDom< Domain, Dense > &MD, const MatrixDom< Domain, Dense >::Rep &Md)
 
template<class UNOP >
void map (Rep &res, UNOP &op) const
 
template<class UNOP >
void map (Rep &res, UNOP &op, const Rep &u) const
 

Member Typedef Documentation

typedef Domain Domain_t
typedef int Indice_t
typedef Storage_t Rep

Constructor & Destructor Documentation

~MatrixDom ( )
inline
MatrixDom ( )
inline
MatrixDom ( const Domain D)
inline
MatrixDom ( const Self_t M)
inline

Member Function Documentation

void init ( Rep r,
Indice_t  nr,
Indice_t  nc 
) const
inline
void init ( Rep r) const
inline
void init ( Rep A,
const Rep B 
) const
inline
void assign ( Rep r,
const Rep a 
) const
inline
int areEqual ( const Rep P,
const Rep Q 
) const
inline
int areNEqual ( const Rep P,
const Rep Q 
) const
inline
int iszero ( const Rep P) const
inline
Indice_t nrow ( const Rep A) const
inline
Indice_t ncol ( const Rep A) const
inline
Domain_t subdomain ( ) const
inline
void mulin ( Rep res,
const Type_t u 
) const
inline
void mul ( Rep res,
const Type_t u,
const Rep v 
) const
inline
void mul ( Rep res,
const Rep u,
const Type_t v 
) const
inline
void mul ( VectorDom< Domain, Dense >::Rep res,
const Rep M,
const VectorDom< Domain, Dense > &  VD,
const VectorDom< Domain, Dense >::Rep u 
) const
inline
void multrans ( typename VectorDom< Domain, Dense >::Rep res,
const Rep M,
const VectorDom< Domain, Dense > &  VS,
const typename VectorDom< Domain, Dense >::Rep u 
) const
inline
void negin ( Rep P) const
inline
void neg ( Rep res,
const Rep u 
) const
inline
void map ( Rep res,
OP &  op 
) const
void map ( Rep res,
OP &  op,
const Rep u 
) const
istream & read ( istream &  s)
inline
ostream & write ( ostream &  s) const
inline
istream & read ( istream &  s,
Rep r 
) const
ostream & write ( ostream &  s,
const Rep r 
) const
void compact ( Rep Ms,
const MatrixDom< Domain, Dense > &  MD,
const MatrixDom< Domain, Dense >::Rep Md 
)
void map ( Rep res,
UNOP &  op 
) const
inline
void map ( Rep res,
UNOP &  op,
const Rep u 
) const
inline

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