53 template<
class Form,
class Cmpt,
int nCmpt>
class VectorSpace;
55 template<
class Form,
class Cmpt,
int nCmpt>
62 template<
class Form,
class Cmpt,
int nCmpt>
74 template<
class Form,
class Cmpt,
int nCmpt>
111 template<
class Form2,
class Cmpt2>
142 friend Istream&
operator>> <Form, Cmpt, nCmpt>
148 friend Ostream& operator<< <Form, Cmpt, nCmpt>
159 template<
class Form,
class Cmpt,
int nCmpt>
label size() const
Return the number of elements in the VectorSpace = nCmpt.
Cmpt cmptType
Component type.
word name(const complex &)
Return a string representation of a complex.
const Cmpt & component(const direction) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void operator-=(const VectorSpace< Form, Cmpt, nCmpt > &)
Number of components in this vector space.
Cmpt v_[nCmpt]
The components of this vector space.
const Cmpt & operator[](const direction) const
VectorSpace()
Construct null.
void replace(const direction, const Cmpt &)
void operator=(const VectorSpace< Form, Cmpt, nCmpt > &)
Direction is an integer type used to represent the Cartesian directions etc. Currently it is a typede...
void operator+=(const VectorSpace< Form, Cmpt, nCmpt > &)
void operator*=(const scalar)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator/=(const scalar)