
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_ | 
Definition at line 22 of file PlayaBlockVectorBaseDecl.hpp.
| Playa::BlockVectorBase< Scalar >::BlockVectorBase | ( | ) |  [inline] | 
        
Definition at line 27 of file PlayaBlockVectorBaseDecl.hpp.
| virtual Playa::BlockVectorBase< Scalar >::~BlockVectorBase | ( | ) |  [inline, virtual] | 
        
Definition at line 30 of file PlayaBlockVectorBaseDecl.hpp.
| std::string Playa::BlockVectorBase< Scalar >::description | ( | ) |  const [inline, virtual] | 
        
Definition at line 152 of file PlayaBlockVectorBaseImpl.hpp.
References Playa::BlockVectorBase< Scalar >::getBlock(), and Playa::VectorBase< Scalar >::numBlocks().
| Scalar Playa::BlockVectorBase< Scalar >::dot | ( | const VectorBase< Scalar > * | other | ) |  const [inline, virtual] | 
        
Implements Playa::VectorBase< Scalar >.
Definition at line 121 of file PlayaBlockVectorBaseImpl.hpp.
References Playa::BlockVectorBase< Scalar >::getBlock(), and Playa::VectorBase< Scalar >::numBlocks().
| virtual const Vector<Scalar>& Playa::BlockVectorBase< Scalar >::getBlock | ( | int | b | ) |  const [pure virtual] | 
        
Implemented in Playa::DefaultBlockVector< Scalar >.
Referenced by Playa::BlockVectorBase< Scalar >::description(), Playa::BlockVectorBase< Scalar >::dot(), Playa::Vector< Scalar >::getBlock(), Playa::BlockVectorBase< Scalar >::nextConstChunk(), Playa::BlockVectorBase< Scalar >::rewind(), and Playa::BlockVectorBase< Scalar >::update().
| virtual Vector<Scalar> Playa::BlockVectorBase< Scalar >::getNonConstBlock | ( | int | b | ) |  [pure virtual] | 
        
Implemented in Playa::DefaultBlockVector< Scalar >.
Referenced by Playa::Vector< Scalar >::getNonConstBlock(), and Playa::BlockVectorBase< Scalar >::update().
| bool Playa::BlockVectorBase< Scalar >::hasMoreChunks | ( | ) |  const [inline, virtual] | 
        
Implements Playa::VectorBase< Scalar >.
Definition at line 17 of file PlayaBlockVectorBaseImpl.hpp.
Referenced by Playa::BlockVectorBase< Scalar >::nextConstChunk().
| NonConstDataChunk< Scalar > Playa::BlockVectorBase< Scalar >::nextChunk | ( | ) |  [inline, virtual] | 
        
| ConstDataChunk< Scalar > Playa::BlockVectorBase< Scalar >::nextConstChunk | ( | ) |  const [inline, virtual] | 
        
Implements Playa::VectorBase< Scalar >.
Definition at line 31 of file PlayaBlockVectorBaseImpl.hpp.
References Playa::BlockVectorBase< Scalar >::currentBlock_, Playa::BlockVectorBase< Scalar >::getBlock(), and Playa::BlockVectorBase< Scalar >::hasMoreChunks().
| Scalar Playa::BlockVectorBase< Scalar >::norm2 | ( | ) |  const [inline, virtual] | 
        
Implements Playa::VectorBase< Scalar >.
Definition at line 137 of file PlayaBlockVectorBaseImpl.hpp.
| void Playa::BlockVectorBase< Scalar >::rewind | ( | ) |  const [inline, virtual] | 
        
Implements Playa::VectorBase< Scalar >.
Definition at line 52 of file PlayaBlockVectorBaseImpl.hpp.
References Playa::BlockVectorBase< Scalar >::currentBlock_, Playa::BlockVectorBase< Scalar >::getBlock(), and Playa::VectorBase< Scalar >::numBlocks().
| virtual void Playa::BlockVectorBase< Scalar >::setBlock | ( | int | b, | |
| const Vector< Scalar > & | block | |||
| ) |  [pure virtual] | 
        
Implemented in Playa::DefaultBlockVector< Scalar >.
Referenced by Playa::Vector< Scalar >::setBlock().
| 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.
References Playa::BlockVectorBase< Scalar >::getBlock().
| 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.
References Playa::BlockVectorBase< Scalar >::getBlock(), Playa::BlockVectorBase< Scalar >::getNonConstBlock(), and Playa::VectorBase< Scalar >::numBlocks().
| 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.
References Playa::BlockVectorBase< Scalar >::getBlock().
int Playa::BlockVectorBase< Scalar >::currentBlock_ [mutable, private]           | 
        
Definition at line 80 of file PlayaBlockVectorBaseDecl.hpp.
Referenced by Playa::BlockVectorBase< Scalar >::nextConstChunk(), and Playa::BlockVectorBase< Scalar >::rewind().