Simbody
3.6
|
(Advanced) This class is identical to Matrix_ except that it has shallow (reference) copy and assignment semantics. More...
Public Member Functions | |
MatrixView_ (MatrixHelperRep< S > *hrep) | |
MatrixView_ (const MatrixView_ &m) | |
MatrixView_ & | operator= (const MatrixView_ &m) |
MatrixView_ (const MatrixHelper< S > &h) | |
MatrixView_ (MatrixHelper< S > &h) | |
MatrixView_ & | operator= (const Matrix_< ELT > &v) |
MatrixView_ & | operator= (const ELT &e) |
template<class EE > | |
MatrixView_ & | operator= (const MatrixBase< EE > &m) |
template<class EE > | |
MatrixView_ & | operator+= (const MatrixBase< EE > &m) |
template<class EE > | |
MatrixView_ & | operator-= (const MatrixBase< EE > &m) |
MatrixView_ & | operator*= (const StdNumber &t) |
MatrixView_ & | operator/= (const StdNumber &t) |
MatrixView_ & | operator+= (const ELT &r) |
MatrixView_ & | operator-= (const ELT &r) |
operator const Matrix_< ELT > & () const | |
operator Matrix_< ELT > & () | |
Related Functions | |
(Note that these are not member functions.) | |
Matrix_<T> serialization and I/O | |
These methods are at namespace scope but are logically part of the Vector classes. These deal with reading and writing Vectors from and to streams, which places an additional requirement on the element type T: the element must support the same operation you are trying to do on the Vector as a whole. | |
template<class E > | |
void | writeUnformatted (std::ostream &o, const MatrixView_< E > &v) |
Raw serialization of MatrixView_<E>; same as MatrixBase<E>. More... | |
template<class E > | |
bool | readUnformatted (std::istream &in, MatrixView_< E > &v) |
Read fixed-size MatrixView in row order from unformatted (whitespace- separated) input stream. More... | |
(Advanced) This class is identical to Matrix_ except that it has shallow (reference) copy and assignment semantics.
Despite the name, this may be an owner if a Matrix_ is recast to a MatrixView_. However, there are no owner constructors for MatrixView_.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
related |
Raw serialization of MatrixView_<E>; same as MatrixBase<E>.
|
related |
Read fixed-size MatrixView in row order from unformatted (whitespace- separated) input stream.
Newlines in the input have no special meaning – we'll read them as whitespace. It is an error if there aren't enough elements.