Givaro
Public Types | Public Member Functions | Data Fields
VectorDom< Domain, Dense > Class Template Reference

#include <givvectordense.h>

+ Collaboration diagram for VectorDom< Domain, Dense >:

Public Types

typedef Domain Domain_t
 
typedef Domain::Rep Type_t
 
typedef int Indice_t
 
typedef Dense StorageTag_t
 
typedef RetVectorStorage< Type_t, Dense >::Storage_t Storage_t
 
typedef Storage_t Rep
 
typedef VectorDom< Domain, DenseSelf_t
 
typedef RetVectorStorage< Type_t, Sparse >::Iterator_t Iterator_t
 
typedef RetVectorStorage< Type_t, Sparse >::constIterator_t constIterator_t
 
typedef RetVectorStorage< Type_t, Sparse >::IndiceIterator_t IndiceIterator_t
 

Public Member Functions

 ~VectorDom ()
 
 VectorDom ()
 
 VectorDom (const Domain &dom)
 
 VectorDom (const Self_t &V)
 
int operator== (const VectorDom< Domain, Dense > &BC) const
 
int operator!= (const VectorDom< Domain, Dense > &BC) const
 
void init (Rep &v, size_t dim=0) const
 
void init (Rep &v, const Rep &u) const
 
void assign (Rep &r, const Rep &v) const
 
void assign (Rep &r, size_t dim, const Type_t &val) 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
 
const Domainsubdomain () const
 
size_t dim (const Rep &v) const
 
void addin (Rep &res, const Rep &u) const
 
void add (Rep &res, const Rep &u, const Rep &v) const
 
void addin (Rep &res, const VectorDom< Domain, Sparse >::Rep &v) const
 
void add (Rep &res, const Rep &u, const VectorDom< Domain, Sparse >::Rep &v) const
 
void add (Rep &res, const VectorDom< Domain, Sparse >::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 subin (Rep &res, const VectorDom< Domain, Sparse >::Rep &v) const
 
void sub (Rep &res, const Rep &u, const VectorDom< Domain, Sparse >::Rep &v) const
 
void sub (Rep &res, const VectorDom< Domain, Sparse >::Rep &u, const Rep &v) const
 
void negin (Rep &res) const
 
void neg (Rep &res, const 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 Rep &x) const
 
void mulin (Rep &res, const Type_t &u) const
 
void mul (Rep &res, const Rep &u, const Type_t &val) const
 
void mul (Rep &res, const Type_t &val, const Rep &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 axpy (Rep &res, const Rep &a, const Rep &x, const Rep &y) const
 
void axpyin (Rep &res, const Rep &a, const Rep &x) const
 
void axmy (Rep &res, const Rep &a, const Rep &x, const Rep &y) const
 
void axmyin (Rep &res, const Rep &a, const Rep &x) const
 
void dot (Type_t &res, const Rep &u, const Rep &v) const
 
template<class UNOP >
void map (Rep &res, UNOP &op) const
 
template<class UNOP >
void map (Rep &res, UNOP &op, const Rep &u) const
 
template<class BINOP >
void map (Rep &res, const BINOP &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
 
Iterator_t begin ()
 
Iterator_t end ()
 
constIterator_t begin () const
 
constIterator_t end () const
 
IndiceIterator_t begin_indice () const
 
IndiceIterator_t end_indice () const
 

Data Fields

Domain _domain
 

Member Typedef Documentation

typedef Domain Domain_t
typedef int Indice_t
typedef Storage_t Rep

Constructor & Destructor Documentation

~VectorDom ( )
inline
VectorDom ( )
inline
VectorDom ( const Domain dom)
inline
VectorDom ( const Self_t V)
inline

Member Function Documentation

int operator== ( const VectorDom< Domain, Dense > &  BC) const
inline
int operator!= ( const VectorDom< Domain, Dense > &  BC) const
inline
void init ( Rep v,
size_t  dim = 0 
) const
inline
void init ( Rep v,
const Rep u 
) const
inline
void assign ( Rep r,
const Rep v 
) const
inline
void assign ( Rep r,
size_t  dim,
const Type_t val 
) 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
const Domain& subdomain ( ) const
inline
size_t dim ( const Rep v) const
inline
void addin ( Rep res,
const Rep u 
) const
inline
void add ( Rep res,
const Rep u,
const Rep v 
) const
inline
void addin ( Rep res,
const VectorDom< Domain, Sparse >::Rep v 
) const
inline
void add ( Rep res,
const Rep u,
const VectorDom< Domain, Sparse >::Rep v 
) const
inline
void add ( Rep res,
const VectorDom< Domain, Sparse >::Rep u,
const Rep v 
) const
inline
void subin ( Rep res,
const Rep u 
) const
inline
void sub ( Rep res,
const Rep u,
const Rep v 
) const
inline
void subin ( Rep res,
const VectorDom< Domain, Sparse >::Rep v 
) const
inline
void sub ( Rep res,
const Rep u,
const VectorDom< Domain, Sparse >::Rep v 
) const
inline
void sub ( Rep res,
const VectorDom< Domain, Sparse >::Rep u,
const Rep v 
) const
inline
void negin ( Rep res) const
inline
void neg ( Rep res,
const Rep u 
) const
inline
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 Rep x 
) const
void mulin ( Rep res,
const Type_t u 
) const
inline
void mul ( Rep res,
const Rep u,
const Type_t val 
) const
inline
void mul ( Rep res,
const Type_t val,
const Rep v 
) const
inline
void add ( Rep res,
const Rep u,
const Type_t val 
) const
inline
void add ( Rep res,
const Type_t val,
const Rep v 
) const
inline
void sub ( Rep res,
const Rep u,
const Type_t val 
) const
inline
void sub ( Rep res,
const Type_t val,
const Rep v 
) const
inline
void axpy ( Rep res,
const Rep a,
const Rep x,
const Rep y 
) const
void axpyin ( Rep res,
const Rep a,
const Rep x 
) const
void axmy ( Rep res,
const Rep a,
const Rep x,
const Rep y 
) const
void axmyin ( Rep res,
const Rep a,
const Rep x 
) const
void dot ( Type_t res,
const Rep u,
const Rep v 
) const
inline
void map ( Rep res,
UNOP &  op 
) const
inline
void map ( Rep res,
UNOP &  op,
const Rep u 
) const
inline
void map ( Rep res,
const BINOP &  op,
const Rep u,
const Rep u 
) const
inline
istream & read ( istream &  s)
ostream & write ( ostream &  s) const
istream & read ( istream &  s,
Rep r 
) const
ostream & write ( ostream &  s,
const Rep r 
) const
Iterator_t begin ( )
inline
Iterator_t end ( )
inline
constIterator_t begin ( ) const
inline
constIterator_t end ( ) const
inline
IndiceIterator_t begin_indice ( ) const
inline
IndiceIterator_t end_indice ( ) const
inline

Field Documentation

Domain _domain

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