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

List of all members.

Public Member Functions

virtual ~VectorBase ()
virtual RCP< const
VectorSpaceBase< Scalar > > 
space () const =0
virtual ConstDataChunk< Scalar > nextConstChunk () const =0
virtual NonConstDataChunk< Scalar > nextChunk ()=0
virtual bool hasMoreChunks () const =0
virtual void rewind () const =0
virtual int numBlocks () const
virtual void update (const Scalar &alpha, const VectorBase< Scalar > *x, const Scalar &gamma)=0
virtual void update (const Scalar &alpha, const VectorBase< Scalar > *x, const Scalar &beta, const VectorBase< Scalar > *y, const Scalar &gamma)=0
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)=0
virtual Scalar dot (const VectorBase< Scalar > *other) const =0
virtual Scalar norm2 () const =0

Detailed Description

template<class Scalar>
class Playa::VectorBase< Scalar >

Author:
Kevin Long (kevin.long@ttu.edu)

Definition at line 58 of file PlayaVectorBaseDecl.hpp.


Constructor & Destructor Documentation

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

virtual dtor

Definition at line 62 of file PlayaVectorBaseDecl.hpp.


Member Function Documentation

template<class Scalar>
virtual Scalar Playa::VectorBase< Scalar >::dot ( const VectorBase< Scalar > *  other) const [pure virtual]
template<class Scalar>
virtual bool Playa::VectorBase< Scalar >::hasMoreChunks ( ) const [pure virtual]
template<class Scalar>
virtual NonConstDataChunk<Scalar> Playa::VectorBase< Scalar >::nextChunk ( ) [pure virtual]
template<class Scalar>
virtual ConstDataChunk<Scalar> Playa::VectorBase< Scalar >::nextConstChunk ( ) const [pure virtual]
template<class Scalar>
virtual Scalar Playa::VectorBase< Scalar >::norm2 ( ) const [pure virtual]
template<class Scalar>
virtual int Playa::VectorBase< Scalar >::numBlocks ( ) const [inline, virtual]

Reimplemented in Playa::DefaultBlockVector< Scalar >.

Definition at line 80 of file PlayaVectorBaseDecl.hpp.

template<class Scalar>
virtual void Playa::VectorBase< Scalar >::rewind ( ) const [pure virtual]
template<class Scalar>
virtual RCP<const VectorSpaceBase<Scalar> > Playa::VectorBase< Scalar >::space ( ) const [pure virtual]

Access to the space in which this vector lives

Implemented in Playa::EpetraVector, Playa::SerialVector, and Playa::DefaultBlockVector< Scalar >.

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

Carry out the operation (*this) = gamma*(*this) + alpha*x ;

Implemented in Playa::EpetraVector, Playa::SingleChunkVector< Scalar >, Playa::SingleChunkVector< double >, and Playa::BlockVectorBase< Scalar >.

template<class Scalar>
virtual void Playa::VectorBase< Scalar >::update ( const Scalar &  alpha,
const VectorBase< Scalar > *  x,
const Scalar &  beta,
const VectorBase< Scalar > *  y,
const Scalar &  gamma 
) [pure virtual]

Carry out the operation (*this) = gamma*(*this) + alpha*x + beta*y;

Implemented in Playa::EpetraVector, Playa::SingleChunkVector< Scalar >, Playa::SingleChunkVector< double >, and Playa::BlockVectorBase< Scalar >.

template<class Scalar>
virtual void Playa::VectorBase< 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 
) [pure virtual]

Site Contact