Vector valued space. More...
#include <vectorial.hh>


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 Scanner * | scan () 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_ |
Vector valued space.
Definition at line 315 of file vectorial.hh.
| typedef concepts::Scan<vectorial::Element<F> > vectorial::Space< F >::Scanner |
Reimplemented from concepts::Space< F >.
Definition at line 328 of file vectorial.hh.
| vectorial::Space< F >::Space | ( | const uint | vdim, |
| const uint | arrayWidth = 0 |
||
| ) | [inline] |
Definition at line 318 of file vectorial.hh.
| virtual vectorial::Space< F >::~Space | ( | ) | [virtual] |
| void vectorial::Space< F >::buildElm_ | ( | const concepts::Space< F > & | spc, |
| uint | idx | ||
| ) | [private] |
| 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.
| virtual std::ostream& vectorial::Space< F >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::Space< 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.
| 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 > >.
| void vectorial::Space< F >::rebuild | ( | ) |
Rebuilds the vectorial space from the scalar spaces.
| 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.
uint vectorial::Space< F >::dim_ [private] |
Definition at line 341 of file vectorial.hh.
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.
uint vectorial::Space< F >::nelm_ [private] |
Definition at line 341 of file vectorial.hh.
concepts::Array<concepts::Space< F > *> vectorial::Vectorial< concepts::Space< F > >::vdata_ [protected, inherited] |
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.