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 |
Definition at line 21 of file PlayaVectorBaseDecl.hpp.
virtual Playa::VectorBase< Scalar >::~VectorBase | ( | ) | [inline, virtual] |
virtual dtor
Definition at line 25 of file PlayaVectorBaseDecl.hpp.
virtual Scalar Playa::VectorBase< Scalar >::dot | ( | const VectorBase< Scalar > * | other | ) | const [pure virtual] |
virtual bool Playa::VectorBase< Scalar >::hasMoreChunks | ( | ) | const [pure virtual] |
virtual NonConstDataChunk<Scalar> Playa::VectorBase< Scalar >::nextChunk | ( | ) | [pure virtual] |
virtual ConstDataChunk<Scalar> Playa::VectorBase< Scalar >::nextConstChunk | ( | ) | const [pure virtual] |
virtual Scalar Playa::VectorBase< Scalar >::norm2 | ( | ) | const [pure virtual] |
virtual int Playa::VectorBase< Scalar >::numBlocks | ( | ) | const [inline, virtual] |
Reimplemented in Playa::DefaultBlockVector< Scalar >.
Definition at line 43 of file PlayaVectorBaseDecl.hpp.
virtual void Playa::VectorBase< Scalar >::rewind | ( | ) | const [pure virtual] |
virtual RCP<const VectorSpaceBase<Scalar> > Playa::VectorBase< Scalar >::space | ( | ) | const [pure virtual] |
Access to the space in which this vector lives
Implemented in Playa::DefaultBlockVector< Scalar >, Playa::EpetraVector, and Playa::SerialVector.
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] |
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::BlockVectorBase< Scalar >, Playa::EpetraVector, Playa::SingleChunkVector< Scalar >, Playa::BlockVectorBase< Scalar >, and Playa::SingleChunkVector< double >.
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::BlockVectorBase< Scalar >, Playa::EpetraVector, Playa::SingleChunkVector< Scalar >, Playa::BlockVectorBase< Scalar >, and Playa::SingleChunkVector< double >.