Public Member Functions | Private Attributes
Playa::BlockVectorBase< Scalar > Class Template Reference
Inheritance diagram for Playa::BlockVectorBase< Scalar >:
Playa::VectorBase< Scalar > Playa::DefaultBlockVector< Scalar >

List of all members.

Public Member Functions

 BlockVectorBase ()
virtual ~BlockVectorBase ()
virtual void setBlock (int b, const Vector< Scalar > &block)=0
virtual const Vector< Scalar > & getBlock (int b) const =0
virtual Vector< Scalar > getNonConstBlock (int b)=0
virtual ConstDataChunk< Scalar > nextConstChunk () const
virtual NonConstDataChunk< Scalar > nextChunk ()
virtual bool hasMoreChunks () const
virtual void rewind () const
virtual std::string description () const
virtual void update (const Scalar &alpha, const VectorBase< Scalar > *other, const Scalar &gamma)
virtual void update (const Scalar &alpha, const VectorBase< Scalar > *x, const Scalar &beta, const VectorBase< Scalar > *y, const Scalar &gamma)
virtual void update (const Scalar &alpha, const VectorBase< Scalar > *x, const Scalar &beta, const VectorBase< Scalar > *y, const Scalar &gamma, const VectorBase< Scalar > *z, const Scalar &delta)
virtual Scalar dot (const VectorBase< Scalar > *other) const
virtual Scalar norm2 () const

Private Attributes

int currentBlock_

Detailed Description

template<class Scalar>
class Playa::BlockVectorBase< Scalar >

Base class for blocked vectors

Definition at line 59 of file PlayaBlockVectorBaseDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Playa::BlockVectorBase< Scalar >::BlockVectorBase ( ) [inline]

Definition at line 64 of file PlayaBlockVectorBaseDecl.hpp.

template<class Scalar>
virtual Playa::BlockVectorBase< Scalar >::~BlockVectorBase ( ) [inline, virtual]

Definition at line 67 of file PlayaBlockVectorBaseDecl.hpp.


Member Function Documentation

template<class Scalar >
std::string Playa::BlockVectorBase< Scalar >::description ( ) const [inline, virtual]

Definition at line 189 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar >
Scalar Playa::BlockVectorBase< Scalar >::dot ( const VectorBase< Scalar > *  other) const [inline, virtual]
template<class Scalar>
virtual const Vector<Scalar>& Playa::BlockVectorBase< Scalar >::getBlock ( int  b) const [pure virtual]
template<class Scalar>
virtual Vector<Scalar> Playa::BlockVectorBase< Scalar >::getNonConstBlock ( int  b) [pure virtual]
template<class Scalar >
bool Playa::BlockVectorBase< Scalar >::hasMoreChunks ( ) const [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 54 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar >
NonConstDataChunk< Scalar > Playa::BlockVectorBase< Scalar >::nextChunk ( ) [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 79 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar >
ConstDataChunk< Scalar > Playa::BlockVectorBase< Scalar >::nextConstChunk ( ) const [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 68 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar >
Scalar Playa::BlockVectorBase< Scalar >::norm2 ( ) const [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 174 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar >
void Playa::BlockVectorBase< Scalar >::rewind ( ) const [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 89 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar>
virtual void Playa::BlockVectorBase< Scalar >::setBlock ( int  b,
const Vector< Scalar > &  block 
) [pure virtual]
template<class Scalar >
void Playa::BlockVectorBase< Scalar >::update ( const Scalar &  alpha,
const VectorBase< Scalar > *  other,
const Scalar &  gamma 
) [inline, virtual]
template<class Scalar >
void Playa::BlockVectorBase< Scalar >::update ( const Scalar &  alpha,
const VectorBase< Scalar > *  x,
const Scalar &  beta,
const VectorBase< Scalar > *  y,
const Scalar &  gamma 
) [inline, virtual]
template<class Scalar >
void Playa::BlockVectorBase< Scalar >::update ( const Scalar &  alpha,
const VectorBase< Scalar > *  x,
const Scalar &  beta,
const VectorBase< Scalar > *  y,
const Scalar &  gamma,
const VectorBase< Scalar > *  z,
const Scalar &  delta 
) [inline, virtual]

Member Data Documentation

template<class Scalar>
int Playa::BlockVectorBase< Scalar >::currentBlock_ [mutable, private]

Definition at line 117 of file PlayaBlockVectorBaseDecl.hpp.

Site Contact