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::Element Type_t
 
typedef size_t Indice_t
 
typedef Dense StorageTag_t
 
typedef RetVectorStorage< Type_t, Dense >::Storage_t Storage_t
 
typedef Storage_t Element
 
typedef VectorDom< Domain, Sparse >::Element SparseVector
 
typedef VectorDom< Domain, DenseSelf_t
 
typedef RetVectorStorage< Type_t, Dense >::Iterator_t Iterator_t
 
typedef RetVectorStorage< Type_t, Dense >::constIterator_t constIterator_t
 
typedef RetVectorStorage< Type_t, Dense >::IndiceIterator_t IndiceIterator_t
 

Public Member Functions

 ~VectorDom ()
 
 VectorDom ()
 
 VectorDom (const Domain &dom)
 
 VectorDom (const Self_t &V)
 
bool operator== (const VectorDom< Domain, Dense > &BC) const
 
bool operator!= (const VectorDom< Domain, Dense > &BC) const
 
void init (Element &v, size_t dim=0) const
 
void init (Element &v, const Element &u) const
 
void assign (Element &r, const Element &v) const
 
void assign (Element &r, size_t dim, const Type_t &val) const
 
bool areEqual (const Element &P, const Element &Q) const
 
bool areNEqual (const Element &P, const Element &Q) const
 
bool isZero (const Element &P) const
 
const Domainsubdomain () const
 
size_t dim (const Element &v) const
 
void addin (Element &res, const Element &u) const
 
void add (Element &res, const Element &u, const Element &v) const
 
void addin (Element &res, const SparseVector &v) const
 
void add (Element &res, const Element &u, const SparseVector &v) const
 
void add (Element &res, const SparseVector &u, const Element &v) const
 
void subin (Element &res, const Element &u) const
 
void sub (Element &res, const Element &u, const Element &v) const
 
void subin (Element &res, const SparseVector &v) const
 
void sub (Element &res, const Element &u, const SparseVector &v) const
 
void sub (Element &res, const SparseVector &u, const Element &v) const
 
void negin (Element &res) const
 
void neg (Element &res, const Element &u) const
 
void axpy (Element &res, const Type_t &a, const Element &x, const Element &y) const
 
void axpyin (Element &res, const Type_t &a, const Element &x) const
 
void axmy (Element &res, const Type_t &a, const Element &x, const Element &y) const
 
void axmyin (Element &res, const Type_t &a, const Element &x) const
 
void mulin (Element &res, const Type_t &u) const
 
void mul (Element &res, const Element &u, const Type_t &val) const
 
void mul (Element &res, const Type_t &val, const Element &v) const
 
void add (Element &res, const Element &u, const Type_t &val) const
 
void add (Element &res, const Type_t &val, const Element &v) const
 
void sub (Element &res, const Element &u, const Type_t &val) const
 
void sub (Element &res, const Type_t &val, const Element &v) const
 
void axpy (Element &res, const Element &a, const Element &x, const Element &y) const
 
void axpyin (Element &res, const Element &a, const Element &x) const
 
void axmy (Element &res, const Element &a, const Element &x, const Element &y) const
 
void axmyin (Element &res, const Element &a, const Element &x) const
 
void dot (Type_t &res, const Element &u, const Element &v) const
 
template<class UNOP >
void map (Element &res, UNOP &op) const
 
template<class UNOP >
void map (Element &res, UNOP &op, const Element &u) const
 
template<class BINOP >
void map (Element &, const BINOP &, const Element &, const Element &) const
 
std::istream & read (std::istream &s)
 
std::ostream & write (std::ostream &s) const
 
std::istream & read (std::istream &s, Element &r) const
 
std::ostream & write (std::ostream &s, const Element &r) const
 

Data Fields

Domain _domain
 

Member Typedef Documentation

◆ Domain_t

typedef Domain Domain_t

◆ Type_t

◆ Indice_t

typedef size_t Indice_t

◆ StorageTag_t

◆ Storage_t

◆ Element

typedef Storage_t Element

◆ SparseVector

◆ Self_t

◆ Iterator_t

◆ constIterator_t

◆ IndiceIterator_t

Constructor & Destructor Documentation

◆ ~VectorDom()

~VectorDom ( )
inline

◆ VectorDom() [1/3]

VectorDom ( )
inline

◆ VectorDom() [2/3]

VectorDom ( const Domain dom)
inline

◆ VectorDom() [3/3]

VectorDom ( const Self_t V)
inline

Member Function Documentation

◆ operator==()

bool operator== ( const VectorDom< Domain, Dense > &  BC) const
inline

◆ operator!=()

bool operator!= ( const VectorDom< Domain, Dense > &  BC) const
inline

◆ init() [1/2]

void init ( Element v,
size_t  dim = 0 
) const
inline

◆ init() [2/2]

void init ( Element v,
const Element u 
) const
inline

◆ assign() [1/2]

void assign ( Element r,
const Element v 
) const
inline

◆ assign() [2/2]

void assign ( Element r,
size_t  dim,
const Type_t val 
) const
inline

◆ areEqual()

bool areEqual ( const Element P,
const Element Q 
) const
inline

◆ areNEqual()

bool areNEqual ( const Element P,
const Element Q 
) const
inline

◆ isZero()

bool isZero ( const Element P) const
inline

◆ subdomain()

const Domain& subdomain ( ) const
inline

◆ dim()

size_t dim ( const Element v) const
inline

◆ addin() [1/2]

void addin ( Element res,
const Element u 
) const
inline

◆ add() [1/5]

void add ( Element res,
const Element u,
const Element v 
) const
inline

◆ addin() [2/2]

void addin ( Element res,
const SparseVector v 
) const
inline

◆ add() [2/5]

void add ( Element res,
const Element u,
const SparseVector v 
) const
inline

◆ add() [3/5]

void add ( Element res,
const SparseVector u,
const Element v 
) const
inline

◆ subin() [1/2]

void subin ( Element res,
const Element u 
) const
inline

◆ sub() [1/5]

void sub ( Element res,
const Element u,
const Element v 
) const
inline

◆ subin() [2/2]

void subin ( Element res,
const SparseVector v 
) const
inline

◆ sub() [2/5]

void sub ( Element res,
const Element u,
const SparseVector v 
) const
inline

◆ sub() [3/5]

void sub ( Element res,
const SparseVector u,
const Element v 
) const
inline

◆ negin()

void negin ( Element res) const
inline

◆ neg()

void neg ( Element res,
const Element u 
) const
inline

◆ axpy() [1/2]

void axpy ( Element res,
const Type_t a,
const Element x,
const Element y 
) const

◆ axpyin() [1/2]

void axpyin ( Element res,
const Type_t a,
const Element x 
) const

◆ axmy() [1/2]

void axmy ( Element res,
const Type_t a,
const Element x,
const Element y 
) const

◆ axmyin() [1/2]

void axmyin ( Element res,
const Type_t a,
const Element x 
) const

◆ mulin()

void mulin ( Element res,
const Type_t u 
) const
inline

◆ mul() [1/2]

void mul ( Element res,
const Element u,
const Type_t val 
) const
inline

◆ mul() [2/2]

void mul ( Element res,
const Type_t val,
const Element v 
) const
inline

◆ add() [4/5]

void add ( Element res,
const Element u,
const Type_t val 
) const
inline

◆ add() [5/5]

void add ( Element res,
const Type_t val,
const Element v 
) const
inline

◆ sub() [4/5]

void sub ( Element res,
const Element u,
const Type_t val 
) const
inline

◆ sub() [5/5]

void sub ( Element res,
const Type_t val,
const Element v 
) const
inline

◆ axpy() [2/2]

void axpy ( Element res,
const Element a,
const Element x,
const Element y 
) const

◆ axpyin() [2/2]

void axpyin ( Element res,
const Element a,
const Element x 
) const

◆ axmy() [2/2]

void axmy ( Element res,
const Element a,
const Element x,
const Element y 
) const

◆ axmyin() [2/2]

void axmyin ( Element res,
const Element a,
const Element x 
) const

◆ dot()

void dot ( Type_t res,
const Element u,
const Element v 
) const
inline

◆ map() [1/3]

void map ( Element res,
UNOP &  op 
) const
inline

◆ map() [2/3]

void map ( Element res,
UNOP &  op,
const Element u 
) const
inline

◆ map() [3/3]

void map ( Element res,
const BINOP &  OP,
const Element u,
const Element v 
) const
inline

◆ read() [1/2]

std::istream & read ( std::istream &  s)

◆ write() [1/2]

std::ostream & write ( std::ostream &  s) const

◆ read() [2/2]

std::istream & read ( std::istream &  s,
Element r 
) const

◆ write() [2/2]

std::ostream & write ( std::ostream &  s,
const Element r 
) const

Field Documentation

◆ _domain

Domain _domain

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