Playa::BlockVectorBase< Scalar > Class Template Reference

#include <PlayaBlockVectorBaseDecl.hpp>

Inheritance diagram for Playa::BlockVectorBase< Scalar >:

Playa::VectorBase< 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


Detailed Description

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

Base class for blocked vectors

Definition at line 22 of file PlayaBlockVectorBaseDecl.hpp.


Constructor & Destructor Documentation

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

Definition at line 27 of file PlayaBlockVectorBaseDecl.hpp.

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

Definition at line 30 of file PlayaBlockVectorBaseDecl.hpp.


Member Function Documentation

template<class Scalar>
virtual void Playa::BlockVectorBase< Scalar >::setBlock ( int  b,
const Vector< Scalar > &  block 
) [pure 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 >
ConstDataChunk< Scalar > Playa::BlockVectorBase< Scalar >::nextConstChunk (  )  const [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 31 of file PlayaBlockVectorBaseImpl.hpp.

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

Implements Playa::VectorBase< Scalar >.

Definition at line 42 of file PlayaBlockVectorBaseImpl.hpp.

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

Implements Playa::VectorBase< Scalar >.

Definition at line 17 of file PlayaBlockVectorBaseImpl.hpp.

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

Implements Playa::VectorBase< Scalar >.

Definition at line 52 of file PlayaBlockVectorBaseImpl.hpp.

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

Definition at line 152 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar>
void Playa::BlockVectorBase< Scalar >::update ( const Scalar &  alpha,
const VectorBase< Scalar > *  other,
const Scalar &  gamma 
) [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 63 of file PlayaBlockVectorBaseImpl.hpp.

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]

Implements Playa::VectorBase< Scalar >.

Definition at line 76 of file PlayaBlockVectorBaseImpl.hpp.

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]

Implements Playa::VectorBase< Scalar >.

Definition at line 97 of file PlayaBlockVectorBaseImpl.hpp.

template<class Scalar>
Scalar Playa::BlockVectorBase< Scalar >::dot ( const VectorBase< Scalar > *  other  )  const [inline, virtual]

Implements Playa::VectorBase< Scalar >.

Definition at line 121 of file PlayaBlockVectorBaseImpl.hpp.

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

Implements Playa::VectorBase< Scalar >.

Definition at line 137 of file PlayaBlockVectorBaseImpl.hpp.


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

doxygen