Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
vectorial::Space< F > Class Template Reference

Vector valued space. More...

#include <vectorial.hh>

Inheritance diagram for vectorial::Space< F >:
Inheritance graph
[legend]
Collaboration diagram for vectorial::Space< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef concepts::Scan
< vectorial::Element< F > > 
Scanner

Public Member Functions

virtual uint dim () const
 Returns the dimension of the space.
virtual const concepts::Space
< F > * 
get (const int a, const int b=0) const
 Get a component.
virtual uint nelm () const
 Returns the number of elements in the space.
virtual void put (concepts::Space< F > &spc, const int i=0, const int j=0)
 Insert a Space spc of one vectorial dimension to the all v-dimensional space.
void rebuild ()
 Rebuilds the vectorial space from the scalar spaces.
virtual Scannerscan () const
 Returns a scanner to iterate over the elements of the space.
 Space (const uint vdim, const uint arrayWidth=0)
uint vdim () const
 Returns number of components.
virtual ~Space ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

uint idx_
 Index of the last added component.
concepts::Array
< concepts::Space< F > * > 
vdata_
 Storage.
uint vdim_
 Number of components.

Private Member Functions

void buildElm_ (const concepts::Space< F > &spc, uint idx)

Private Attributes

uint dim_
concepts::Joiner< Element< F > *, 1 > * elm_
uint nelm_

Detailed Description

template<class F>
class vectorial::Space< F >

Vector valued space.

Author:
Kersten Schmidt, 2002

Definition at line 315 of file vectorial.hh.


Member Typedef Documentation

template<class F>
typedef concepts::Scan<vectorial::Element<F> > vectorial::Space< F >::Scanner

Reimplemented from concepts::Space< F >.

Definition at line 328 of file vectorial.hh.


Constructor & Destructor Documentation

template<class F>
vectorial::Space< F >::Space ( const uint  vdim,
const uint  arrayWidth = 0 
) [inline]

Definition at line 318 of file vectorial.hh.

template<class F>
virtual vectorial::Space< F >::~Space ( ) [virtual]

Member Function Documentation

template<class F>
void vectorial::Space< F >::buildElm_ ( const concepts::Space< F > &  spc,
uint  idx 
) [private]
template<class F>
virtual uint vectorial::Space< F >::dim ( ) const [inline, virtual]

Returns the dimension of the space.

Implements concepts::Space< F >.

Definition at line 326 of file vectorial.hh.

virtual const concepts::Space< F > * vectorial::Vectorial< concepts::Space< F > >::get ( const int  a,
const int  b = 0 
) const [inline, virtual, inherited]

Get a component.

Definition at line 67 of file vectorial.hh.

template<class F>
virtual std::ostream& vectorial::Space< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Space< F >.

template<class F>
virtual uint vectorial::Space< F >::nelm ( ) const [inline, virtual]

Returns the number of elements in the space.

Implements concepts::Space< F >.

Definition at line 327 of file vectorial.hh.

template<class F>
virtual void vectorial::Space< F >::put ( concepts::Space< F > &  spc,
const int  i = 0,
const int  j = 0 
) [virtual]

Insert a Space spc of one vectorial dimension to the all v-dimensional space.

Reimplemented from vectorial::Vectorial< concepts::Space< F > >.

template<class F>
void vectorial::Space< F >::rebuild ( )

Rebuilds the vectorial space from the scalar spaces.

template<class F>
virtual Scanner* vectorial::Space< F >::scan ( ) const [virtual]

Returns a scanner to iterate over the elements of the space.

Implements concepts::Space< F >.

uint vectorial::Vectorial< concepts::Space< F > >::vdim ( ) const [inline, inherited]

Returns number of components.

Definition at line 70 of file vectorial.hh.


Member Data Documentation

template<class F>
uint vectorial::Space< F >::dim_ [private]

Definition at line 341 of file vectorial.hh.

template<class F>
concepts::Joiner<Element<F>*, 1>* vectorial::Space< F >::elm_ [private]

Definition at line 342 of file vectorial.hh.

uint vectorial::Vectorial< concepts::Space< F > >::idx_ [protected, inherited]

Index of the last added component.

Definition at line 75 of file vectorial.hh.

template<class F>
uint vectorial::Space< F >::nelm_ [private]

Definition at line 341 of file vectorial.hh.

Storage.

Definition at line 77 of file vectorial.hh.

uint vectorial::Vectorial< concepts::Space< F > >::vdim_ [protected, inherited]

Number of components.

Definition at line 73 of file vectorial.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)