Playa::DefaultBlockVector< Scalar > Class Template Reference

#include <PlayaDefaultBlockVectorDecl.hpp>

Inheritance diagram for Playa::DefaultBlockVector< Scalar >:

Playa::BlockVectorBase< Scalar > Playa::VectorBase< Scalar >

List of all members.

Public Member Functions

 DefaultBlockVector (const VectorSpace< Scalar > &space)
 DefaultBlockVector (const VectorSpace< Scalar > &space, const Array< Vector< Scalar > > &blocks)
virtual ~DefaultBlockVector ()
virtual void setBlock (int b, const Vector< Scalar > &block)
virtual const Vector< Scalar > & getBlock (int b) const
virtual Vector< Scalar > getNonConstBlock (int b)
virtual int numBlocks () const
VectorBase interface


RCP< const VectorSpaceBase
< double > > 
space () const


Detailed Description

template<class Scalar>
class Playa::DefaultBlockVector< Scalar >

Base class for blocked vectors

Definition at line 21 of file PlayaDefaultBlockVectorDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Playa::DefaultBlockVector< Scalar >::DefaultBlockVector ( const VectorSpace< Scalar > &  space  )  [inline]

Definition at line 28 of file PlayaDefaultBlockVectorImpl.hpp.

template<class Scalar >
Playa::DefaultBlockVector< Scalar >::DefaultBlockVector ( const VectorSpace< Scalar > &  space,
const Array< Vector< Scalar > > &  blocks 
) [inline]

Definition at line 39 of file PlayaDefaultBlockVectorImpl.hpp.

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

Definition at line 32 of file PlayaDefaultBlockVectorDecl.hpp.


Member Function Documentation

template<class Scalar >
RCP<const VectorSpaceBase<double> > Playa::DefaultBlockVector< Scalar >::space (  )  const [inline, virtual]

Access to the space in which this vector lives

Implements Playa::VectorBase< Scalar >.

Definition at line 37 of file PlayaDefaultBlockVectorDecl.hpp.

template<class Scalar >
void Playa::DefaultBlockVector< Scalar >::setBlock ( int  b,
const Vector< Scalar > &  block 
) [inline, virtual]

Implements Playa::BlockVectorBase< Scalar >.

Definition at line 45 of file PlayaDefaultBlockVectorImpl.hpp.

template<class Scalar >
const Vector< Scalar > & Playa::DefaultBlockVector< Scalar >::getBlock ( int  b  )  const [inline, virtual]

Implements Playa::BlockVectorBase< Scalar >.

Definition at line 62 of file PlayaDefaultBlockVectorImpl.hpp.

template<class Scalar >
Vector< Scalar > Playa::DefaultBlockVector< Scalar >::getNonConstBlock ( int  b  )  [inline, virtual]

Implements Playa::BlockVectorBase< Scalar >.

Definition at line 71 of file PlayaDefaultBlockVectorImpl.hpp.

template<class Scalar >
virtual int Playa::DefaultBlockVector< Scalar >::numBlocks (  )  const [inline, virtual]

Reimplemented from Playa::VectorBase< Scalar >.

Definition at line 50 of file PlayaDefaultBlockVectorDecl.hpp.


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

doxygen