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

#include <givmatdense.h>

Public Types

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

Public Member Functions

 ~MatrixDom ()
 
 MatrixDom ()
 
 MatrixDom (const Self_t &M)
 
 MatrixDom (const Domain_t &D)
 
void init (Rep &r, Indice_t nr, Indice_t nc) const
 
void init (Rep &r)
 
Type_toperator() (Rep &r, Indice_t i, Indice_t j) const
 
const Type_toperator() (const Rep &r, Indice_t i, Indice_t j) const
 
void assign (Rep &r, const Rep &a)
 
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 &r) const
 
Indice_t ncol (const Rep &r) const
 
Domain_t subdomain () const
 
void mulin (Rep &res, const Rep &u) const
 
void mul (Rep &res, const Rep &u, const Rep &v) const
 
void addin (Rep &res, const Rep &u) const
 
void add (Rep &res, const Rep &u, const Rep &v) const
 
void subin (Rep &res, const Rep &u) const
 
void sub (Rep &res, const Rep &u, const Rep &v) const
 
void negin (Rep &res) const
 
void neg (Rep &res, const Rep &u) const
 
void mul (typename VectorDom< Domain, Dense >::Rep &res, const Rep &M, const VectorDom< Domain, Dense > &VD, const typename 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 axpy (Rep &res, const Type_t &a, const Rep &x, const Rep &y) const
 
void axpyin (Rep &res, const Type_t &a, const Rep &x) const
 
void axmy (Rep &res, const Type_t &a, const Rep &x, const Rep &y) const
 
void axmyin (Rep &res, const Type_t &a, const Type_t &x) const
 
void axpy (Rep &res, const Type_t &a, const Rep &A, const Rep &X, const Type_t &b, const Rep &Y) const
 
void axpy (Rep &res, const Rep &A, const Rep &X, const Rep &Y) 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 add (Rep &res, const Rep &u, const Type_t &val) const
 
void add (Rep &res, const Type_t &val, const Rep &v) const
 
void sub (Rep &res, const Rep &u, const Type_t &val) const
 
void sub (Rep &res, const Type_t &val, const Rep &v) const
 
template<class OP >
void map (Rep &res, OP &op) const
 
template<class OP >
void map (Rep &res, OP &op, const Rep &u) const
 
template<class OP >
void map (Rep &res, OP &op, const Rep &u, 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
 

Member Typedef Documentation

typedef Domain Domain_t
typedef int Indice_t
typedef Storage_t Rep

Constructor & Destructor Documentation

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

Member Function Documentation

void init ( Rep r,
Indice_t  nr,
Indice_t  nc 
) const
inline
void init ( Rep r)
inline
Type_t& operator() ( Rep r,
Indice_t  i,
Indice_t  j 
) const
inline
const Type_t& operator() ( const Rep r,
Indice_t  i,
Indice_t  j 
) const
inline
void assign ( Rep r,
const Rep a 
)
inline
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 r) const
inline
Indice_t ncol ( const Rep r) const
inline
Domain_t subdomain ( ) const
inline
void mulin ( Rep res,
const Rep u 
) const
void mul ( Rep res,
const Rep u,
const Rep v 
) const
void addin ( Rep res,
const Rep u 
) const
void add ( Rep res,
const Rep u,
const Rep v 
) const
void subin ( Rep res,
const Rep u 
) const
void sub ( Rep res,
const Rep u,
const Rep v 
) const
void negin ( Rep res) const
void neg ( Rep res,
const Rep u 
) const
void mul ( typename VectorDom< Domain, Dense >::Rep res,
const Rep M,
const VectorDom< Domain, Dense > &  VD,
const typename 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 axpy ( Rep res,
const Type_t a,
const Rep x,
const Rep y 
) const
void axpyin ( Rep res,
const Type_t a,
const Rep x 
) const
void axmy ( Rep res,
const Type_t a,
const Rep x,
const Rep y 
) const
void axmyin ( Rep res,
const Type_t a,
const Type_t x 
) const
void axpy ( Rep res,
const Type_t a,
const Rep A,
const Rep X,
const Type_t b,
const Rep Y 
) const
void axpy ( Rep res,
const Rep A,
const Rep X,
const Rep Y 
) 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 add ( Rep res,
const Rep u,
const Type_t val 
) const
void add ( Rep res,
const Type_t val,
const Rep v 
) const
void sub ( Rep res,
const Rep u,
const Type_t val 
) const
void sub ( Rep res,
const Type_t val,
const Rep v 
) const
void map ( Rep res,
OP &  op 
) const
void map ( Rep res,
OP &  op,
const Rep u 
) const
void map ( Rep res,
OP &  op,
const Rep u,
const Rep u 
) const
istream & read ( istream &  s)
ostream & write ( ostream &  s) const
inline
istream & read ( istream &  s,
Rep r 
) const
ostream & write ( ostream &  s,
const Rep r 
) const

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