|
|
|
VectorSpace< Form, Cmpt, nCmpt > Class Template ReferenceTemplated vector space. More...
Inheritance diagram for VectorSpace< Form, Cmpt, nCmpt >:
![]()
Collaboration diagram for VectorSpace< Form, Cmpt, nCmpt >:
![]()
Detailed Descriptiontemplate<class Form, class Cmpt, int nCmpt>
Templated vector space.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef Cmpt cmptType |
| anonymous enum |
| VectorSpace | ( | ) | [inline] |
| VectorSpace | ( | Istream & | is | ) | [inline] |
Construct from Istream.
Definition at line 28 of file VectorSpace.C.
References Istream::readBegin(), Istream::readEnd(), and VectorSpace< Form, Cmpt, nCmpt >::v_.

| VectorSpace | ( | const VectorSpace< Form, Cmpt, nCmpt > & | vs | ) | [inline] |
| label size | ( | ) | const [inline] |
Return the number of elements in the VectorSpace = nCmpt.
Definition at line 48 of file VectorSpaceI.H.
| const Cmpt & component | ( | const direction | d | ) | const [inline] |
Definition at line 56 of file VectorSpaceI.H.
| Cmpt & component | ( | const direction | d | ) | [inline] |
Definition at line 77 of file VectorSpaceI.H.
| void component | ( | Cmpt & | c, | |
| const direction | d | |||
| ) | const [inline] |
Definition at line 96 of file VectorSpaceI.H.
| void replace | ( | const direction | d, | |
| const Cmpt & | c | |||
| ) | [inline] |
Definition at line 118 of file VectorSpaceI.H.
| const Cmpt & operator[] | ( | const direction | d | ) | const [inline] |
Definition at line 143 of file VectorSpaceI.H.
| Cmpt & operator[] | ( | const direction | d | ) | [inline] |
Definition at line 164 of file VectorSpaceI.H.
| void operator= | ( | const VectorSpace< Form, Cmpt, nCmpt > & | vs | ) | [inline] |
Definition at line 183 of file VectorSpaceI.H.
| void operator+= | ( | const VectorSpace< Form, Cmpt, nCmpt > & | vs | ) | [inline] |
Definition at line 193 of file VectorSpaceI.H.
| void operator-= | ( | const VectorSpace< Form, Cmpt, nCmpt > & | vs | ) | [inline] |
Definition at line 203 of file VectorSpaceI.H.
| void operator*= | ( | const scalar | s | ) | [inline] |
Definition at line 213 of file VectorSpaceI.H.
| void operator/= | ( | const scalar | s | ) | [inline] |
Definition at line 223 of file VectorSpaceI.H.
| Istream& operator>> | ( | Istream & | , | |
| VectorSpace< Form, Cmpt, nCmpt > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const VectorSpace< Form, Cmpt, nCmpt > & | ||||
| ) | [friend] |
| Cmpt v_[nCmpt] |
The components of this vector space.
Definition at line 91 of file VectorSpace.H.
Referenced by VectorSpace< Form, Cmpt, nCmpt >::VectorSpace().