This class is identical to a RowVector_; it is used only to manage the C++ rules for when copy constructors are called by introducing a separate type to prevent certain allowed optimizations from occuring when we don't want them. More...
#include <BigMatrix.h>
Public Member Functions | |
RowVectorView_ (MatrixHelperRep< S > *hrep) | |
RowVectorView_ (const RowVectorView_ &r) | |
RowVectorView_ & | operator= (const RowVectorView_ &r) |
Copy assignment is deep copy but behavior depends on type of lhs: if view, rhs must match. | |
RowVectorView_ (const MatrixHelper< S > &h) | |
RowVectorView_ (MatrixHelper< S > &h) | |
RowVectorView_ & | operator= (const Base &b) |
RowVectorView_ & | operator= (const ELT &v) |
Fill current allocation with copies of element. | |
template<class EE > | |
RowVectorView_ & | operator= (const RowVectorBase< EE > &m) |
template<class EE > | |
RowVectorView_ & | operator+= (const RowVectorBase< EE > &m) |
template<class EE > | |
RowVectorView_ & | operator-= (const RowVectorBase< EE > &m) |
RowVectorView_ & | operator*= (const StdNumber &t) |
RowVectorView_ & | operator/= (const StdNumber &t) |
RowVectorView_ & | operator+= (const ELT &b) |
RowVectorView_ & | operator-= (const ELT &b) |
This class is identical to a RowVector_; it is used only to manage the C++ rules for when copy constructors are called by introducing a separate type to prevent certain allowed optimizations from occuring when we don't want them.
Despite the name, this may be an owner if a RowVector_ is recast to a RowVectorView_. However, there are no owner constructors for RowVectorView_.
RowVectorView_ | ( | MatrixHelperRep< S > * | hrep | ) | [inline, explicit] |
RowVectorView_ | ( | const RowVectorView_< ELT > & | r | ) | [inline] |
RowVectorView_ | ( | const MatrixHelper< S > & | h | ) | [inline, explicit] |
RowVectorView_ | ( | MatrixHelper< S > & | h | ) | [inline, explicit] |
RowVectorView_& operator*= | ( | const StdNumber & | t | ) | [inline] |
Reimplemented from RowVectorBase< ELT >.
References RowVectorBase< ELT >::operator*=().
RowVectorView_& operator+= | ( | const ELT & | b | ) | [inline] |
References MatrixBase< ELT >::elementwiseAddScalarInPlace().
RowVectorView_& operator+= | ( | const RowVectorBase< EE > & | m | ) | [inline] |
References RowVectorBase< ELT >::operator+=().
RowVectorView_& operator-= | ( | const ELT & | b | ) | [inline] |
RowVectorView_& operator-= | ( | const RowVectorBase< EE > & | m | ) | [inline] |
References RowVectorBase< ELT >::operator-=().
RowVectorView_& operator/= | ( | const StdNumber & | t | ) | [inline] |
Reimplemented from RowVectorBase< ELT >.
References RowVectorBase< ELT >::operator/=().
RowVectorView_& operator= | ( | const RowVectorBase< EE > & | m | ) | [inline] |
References RowVectorBase< ELT >::operator=().
RowVectorView_& operator= | ( | const ELT & | t | ) | [inline] |
Fill current allocation with copies of element.
Note that this is not the same behavior as assignment for Matrices, where only the diagonal is set (and everything else is set to zero.)
Reimplemented from RowVectorBase< ELT >.
References RowVectorBase< ELT >::operator=().
RowVectorView_& operator= | ( | const Base & | b | ) | [inline] |
References RowVectorBase< ELT >::operator=().
RowVectorView_& operator= | ( | const RowVectorView_< ELT > & | b | ) | [inline] |
Copy assignment is deep copy but behavior depends on type of lhs: if view, rhs must match.
If owner, we reallocate and copy rhs.
Reimplemented from RowVectorBase< ELT >.
References RowVectorBase< ELT >::operator=().