Go to the documentation of this file.
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>
A class for handling words, derived from string.
const Cmpt & operator[](const direction) const
void operator-=(const VectorSpace< Form, Cmpt, nCmpt > &)
label size() const
Return the number of elements in the VectorSpace = nCmpt.
void operator*=(const scalar)
@ nComponents
Number of components in this vector space.
const Cmpt & component(const direction) const
Cmpt cmptType
Component type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
VectorSpace()
Construct null.
void operator/=(const scalar)
Cmpt v_[nCmpt]
The components of this vector space.
void replace(const direction, const Cmpt &)
Direction is an integer type used to represent the Cartesian directions etc. Currently it is a typede...
void operator=(const VectorSpace< Form, Cmpt, nCmpt > &)
@ dim
Dimensionality of space.
void operator+=(const VectorSpace< Form, Cmpt, nCmpt > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
word name(const complex &)
Return a string representation of a complex.