#include <BigMatrix.h>
This mostly entails overriding a few of the methods. Note that all the MatrixBase operations remain available if you static_cast<> this up to a MatrixBase.
Public Member Functions | |
RowVectorBase () | |
RowVectorBase (const RowVectorBase &b) | |
RowVectorBase & | operator= (const RowVectorBase &b) |
RowVectorBase (int n, bool lockNcol=false) | |
RowVectorBase (int n, int leadingDim, const Scalar *s) | |
RowVectorBase (int n, int leadingDim, Scalar *s) | |
RowVectorBase (int n, const ELT &t) | |
RowVectorBase (int n, bool lockNcol, const ELT &t) | |
RowVectorBase (int n, const ELT *p) | |
RowVectorBase (int n, bool lockNcol, const ELT *p) | |
RowVectorBase (MatrixHelper< Scalar > &h, const typename MatrixHelper< Scalar >::ShallowCopy &s) | |
RowVectorBase (const MatrixHelper< Scalar > &h, const typename MatrixHelper< Scalar >::ShallowCopy &s) | |
RowVectorBase (const MatrixHelper< Scalar > &h, const typename MatrixHelper< Scalar >::DeepCopy &d) | |
RowVectorBase & | operator*= (const StdNumber &t) |
RowVectorBase & | operator/= (const StdNumber &t) |
RowVectorBase & | operator+= (const RowVectorBase &r) |
RowVectorBase & | operator-= (const RowVectorBase &r) |
template<class EE> | |
RowVectorBase & | operator= (const RowVectorBase< EE > &b) |
template<class EE> | |
RowVectorBase & | operator+= (const RowVectorBase< EE > &b) |
template<class EE> | |
RowVectorBase & | operator-= (const RowVectorBase< EE > &b) |
RowVectorBase & | operator= (const ELT &t) |
template<class EE> | |
RowVectorBase & | colScaleInPlace (const VectorBase< EE > &v) |
template<class EE> | |
void | colScale (const VectorBase< EE > &v, typename EltResult< EE >::Mul &out) const |
template<class EE> | |
EltResult< EE >::Mul | colScale (const VectorBase< EE > &v) const |
template<class EE> | |
RowVectorBase & | elementwiseMultiplyInPlace (const RowVectorBase< EE > &r) |
template<class EE> | |
void | elementwiseMultiply (const RowVectorBase< EE > &v, typename EltResult< EE >::Mul &out) const |
template<class EE> | |
EltResult< EE >::Mul | elementwiseMultiply (const RowVectorBase< EE > &v) const |
template<class EE> | |
RowVectorBase & | elementwiseMultiplyFromLeftInPlace (const RowVectorBase< EE > &r) |
template<class EE> | |
void | elementwiseMultiplyFromLeft (const RowVectorBase< EE > &v, typename RowVectorBase< EE >::template EltResult< ELT >::Mul &out) const |
template<class EE> | |
RowVectorBase< EE >::template EltResult< ELT >::Mul | elementwiseMultiplyFromLeft (const RowVectorBase< EE > &v) const |
template<class EE> | |
RowVectorBase & | elementwiseDivideInPlace (const RowVectorBase< EE > &r) |
template<class EE> | |
void | elementwiseDivide (const RowVectorBase< EE > &v, typename EltResult< EE >::Dvd &out) const |
template<class EE> | |
EltResult< EE >::Dvd | elementwiseDivide (const RowVectorBase< EE > &v) const |
template<class EE> | |
RowVectorBase & | elementwiseDivideFromLeftInPlace (const RowVectorBase< EE > &r) |
template<class EE> | |
void | elementwiseDivideFromLeft (const RowVectorBase< EE > &v, typename RowVectorBase< EE >::template EltResult< ELT >::Dvd &out) const |
template<class EE> | |
RowVectorBase< EE >::template EltResult< ELT >::Dvd | elementwiseDivideFromLeft (const RowVectorBase< EE > &v) const |
operator const RowVector_< ELT > & () const | |
operator RowVector_< ELT > & () | |
operator const RowVectorView_< ELT > & () const | |
operator RowVectorView_< ELT > & () | |
operator const Matrix_< ELT > & () const | |
operator Matrix_< ELT > & () | |
operator const MatrixView_< ELT > & () const | |
operator MatrixView_< ELT > & () | |
int | size () const |
int | nrow () const |
int | ncol () const |
TAbs | abs () const |
const ELT & | operator[] (int j) const |
ELT & | operator[] (int j) |
const ELT & | operator() (int j) const |
ELT & | operator() (int j) |
RowVectorView_< ELT > | operator() (int j, int n) const |
RowVectorView_< ELT > | operator() (int j, int n) |
THerm | transpose () const |
THerm | updTranspose () |
THerm | operator~ () const |
THerm | operator~ () |
const RowVectorBase & | operator+ () const |
const TNeg & | negate () const |
TNeg & | updNegate () |
const TNeg & | operator- () const |
TNeg & | operator- () |
RowVectorBase & | resize (int n) |
RowVectorBase & | resizeKeep (int n) |
void | clear () |
ELT | sum () const |
VectorIterator< ELT, RowVectorBase< ELT > > | begin () |
VectorIterator< ELT, RowVectorBase< ELT > > | end () |
Classes | |
struct | EltResult |
RowVectorBase | ( | ) | [inline] |
RowVectorBase | ( | const RowVectorBase< ELT > & | b | ) | [inline] |
RowVectorBase | ( | int | n, | |
bool | lockNcol = false | |||
) | [inline, explicit] |
RowVectorBase | ( | int | n, | |
int | leadingDim, | |||
const Scalar * | s | |||
) | [inline] |
RowVectorBase | ( | int | n, | |
int | leadingDim, | |||
Scalar * | s | |||
) | [inline] |
RowVectorBase | ( | int | n, | |
const ELT & | t | |||
) | [inline] |
RowVectorBase | ( | int | n, | |
bool | lockNcol, | |||
const ELT & | t | |||
) | [inline] |
RowVectorBase | ( | int | n, | |
const ELT * | p | |||
) | [inline] |
RowVectorBase | ( | int | n, | |
bool | lockNcol, | |||
const ELT * | p | |||
) | [inline] |
RowVectorBase | ( | MatrixHelper< Scalar > & | h, | |
const typename MatrixHelper< Scalar >::ShallowCopy & | s | |||
) | [inline] |
RowVectorBase | ( | const MatrixHelper< Scalar > & | h, | |
const typename MatrixHelper< Scalar >::ShallowCopy & | s | |||
) | [inline] |
RowVectorBase | ( | const MatrixHelper< Scalar > & | h, | |
const typename MatrixHelper< Scalar >::DeepCopy & | d | |||
) | [inline] |
RowVectorBase& operator= | ( | const RowVectorBase< ELT > & | b | ) | [inline] |
References MatrixBase::operator=().
RowVectorBase& operator*= | ( | const StdNumber & | t | ) | [inline] |
RowVectorBase& operator/= | ( | const StdNumber & | t | ) | [inline] |
RowVectorBase& operator+= | ( | const RowVectorBase< ELT > & | r | ) | [inline] |
References MatrixBase::operator+=().
RowVectorBase& operator-= | ( | const RowVectorBase< ELT > & | r | ) | [inline] |
References MatrixBase::operator-=().
RowVectorBase& operator= | ( | const RowVectorBase< EE > & | b | ) | [inline] |
RowVectorBase& operator+= | ( | const RowVectorBase< EE > & | b | ) | [inline] |
RowVectorBase& operator-= | ( | const RowVectorBase< EE > & | b | ) | [inline] |
RowVectorBase& operator= | ( | const ELT & | t | ) | [inline] |
Reimplemented from MatrixBase.
Reimplemented in RowVectorView_, and RowVector_.
References MatrixBase::setTo().
RowVectorBase& colScaleInPlace | ( | const VectorBase< EE > & | v | ) | [inline] |
Reimplemented from MatrixBase.
void colScale | ( | const VectorBase< EE > & | v, | |
typename EltResult< EE >::Mul & | out | |||
) | const [inline] |
EltResult<EE>::Mul colScale | ( | const VectorBase< EE > & | v | ) | const [inline] |
RowVectorBase& elementwiseMultiplyInPlace | ( | const RowVectorBase< EE > & | r | ) | [inline] |
void elementwiseMultiply | ( | const RowVectorBase< EE > & | v, | |
typename EltResult< EE >::Mul & | out | |||
) | const [inline] |
EltResult<EE>::Mul elementwiseMultiply | ( | const RowVectorBase< EE > & | v | ) | const [inline] |
References RowVectorBase::nrow().
RowVectorBase& elementwiseMultiplyFromLeftInPlace | ( | const RowVectorBase< EE > & | r | ) | [inline] |
void elementwiseMultiplyFromLeft | ( | const RowVectorBase< EE > & | v, | |
typename RowVectorBase< EE >::template EltResult< ELT >::Mul & | out | |||
) | const [inline] |
RowVectorBase<EE>::template EltResult<ELT>::Mul elementwiseMultiplyFromLeft | ( | const RowVectorBase< EE > & | v | ) | const [inline] |
References RowVectorBase::nrow().
RowVectorBase& elementwiseDivideInPlace | ( | const RowVectorBase< EE > & | r | ) | [inline] |
void elementwiseDivide | ( | const RowVectorBase< EE > & | v, | |
typename EltResult< EE >::Dvd & | out | |||
) | const [inline] |
EltResult<EE>::Dvd elementwiseDivide | ( | const RowVectorBase< EE > & | v | ) | const [inline] |
References RowVectorBase::nrow().
RowVectorBase& elementwiseDivideFromLeftInPlace | ( | const RowVectorBase< EE > & | r | ) | [inline] |
void elementwiseDivideFromLeft | ( | const RowVectorBase< EE > & | v, | |
typename RowVectorBase< EE >::template EltResult< ELT >::Dvd & | out | |||
) | const [inline] |
RowVectorBase<EE>::template EltResult<ELT>::Dvd elementwiseDivideFromLeft | ( | const RowVectorBase< EE > & | v | ) | const [inline] |
References RowVectorBase::nrow().
operator const RowVector_< ELT > & | ( | ) | const [inline] |
Reimplemented in TmpRowVectorView_.
operator RowVector_< ELT > & | ( | ) | [inline] |
Reimplemented in TmpRowVectorView_.
operator const RowVectorView_< ELT > & | ( | ) | const [inline] |
operator RowVectorView_< ELT > & | ( | ) | [inline] |
operator const Matrix_< ELT > & | ( | ) | const [inline] |
operator Matrix_< ELT > & | ( | ) | [inline] |
operator const MatrixView_< ELT > & | ( | ) | const [inline] |
operator MatrixView_< ELT > & | ( | ) | [inline] |
int size | ( | ) | const [inline] |
Reimplemented from MatrixBase.
References SimTK::max(), MatrixBase::nrow(), fkinkryx_p::size, and MatrixBase::size().
Referenced by RowVectorBase::end(), SimTK::max(), SimTK::mean(), SimTK::min(), SimTK::operator*(), SimTK::operator-(), and SimTK::sort().
int nrow | ( | ) | const [inline] |
Reimplemented from MatrixBase.
References MatrixBase::nrow().
Referenced by RowVectorBase::elementwiseDivide(), RowVectorBase::elementwiseDivideFromLeft(), RowVectorBase::elementwiseMultiply(), and RowVectorBase::elementwiseMultiplyFromLeft().
int ncol | ( | ) | const [inline] |
Reimplemented from MatrixBase.
References MatrixBase::ncol(), and MatrixBase::nrow().
Referenced by RowVectorBase::colScale(), and SimTK::operator*().
TAbs abs | ( | ) | const [inline] |
const ELT& operator[] | ( | int | j | ) | const [inline] |
ELT& operator[] | ( | int | j | ) | [inline] |
const ELT& operator() | ( | int | j | ) | const [inline] |
ELT& operator() | ( | int | j | ) | [inline] |
RowVectorView_<ELT> operator() | ( | int | j, | |
int | n | |||
) | const [inline] |
RowVectorView_<ELT> operator() | ( | int | j, | |
int | n | |||
) | [inline] |
THerm transpose | ( | ) | const [inline] |
Reimplemented from MatrixBase.
References SimTK::transpose().
Referenced by RowVectorBase::operator~().
THerm updTranspose | ( | ) | [inline] |
Reimplemented from MatrixBase.
References MatrixBase::updTranspose().
Referenced by RowVectorBase::operator~().
THerm operator~ | ( | ) | const [inline] |
THerm operator~ | ( | ) | [inline] |
const RowVectorBase& operator+ | ( | ) | const [inline] |
Reimplemented from MatrixBase.
const TNeg& negate | ( | ) | const [inline] |
TNeg& updNegate | ( | ) | [inline] |
const TNeg& operator- | ( | ) | const [inline] |
TNeg& operator- | ( | ) | [inline] |
RowVectorBase& resize | ( | int | n | ) | [inline] |
References MatrixBase::resize().
RowVectorBase& resizeKeep | ( | int | n | ) | [inline] |
References MatrixBase::resizeKeep().
void clear | ( | ) | [inline] |
ELT sum | ( | ) | const [inline] |
Reimplemented from MatrixBase.
References MatrixBase::helper, and MatrixHelper::sum().
Referenced by SimTK::sum().
VectorIterator<ELT, RowVectorBase<ELT> > begin | ( | ) | [inline] |
Referenced by SimTK::median(), and SimTK::sort().
VectorIterator<ELT, RowVectorBase<ELT> > end | ( | ) | [inline] |