#include <Row.h>
Public Types | |
enum | { NRows = 1, NCols = N, RowSpacing = 1, ColSpacing = STRIDE, NPackedElements = N, NActualElements = N * STRIDE, NActualScalars = CNT<E>::NActualScalars * NActualElements, ImagOffset = NTraits<ENumber>::ImagOffset, RealStrideFactor = 1, ArgDepth, IsScalar = 0, IsNumber = 0, IsStdNumber = 0, IsPrecision = 0, SignInterpretation = CNT<E>::SignInterpretation } |
typedef Row< N, E, STRIDE > | T |
typedef Row< N, ENeg, STRIDE > | TNeg |
typedef Row< N, EWithoutNegator, STRIDE > | TWithoutNegator |
typedef Row< N, EReal, STRIDE *CNT< E >::RealStrideFactor > | TReal |
typedef Row< N, EImag, STRIDE *CNT< E >::RealStrideFactor > | TImag |
typedef Row< N, EComplex, STRIDE > | TComplex |
typedef Vec< N, EHerm, STRIDE > | THerm |
typedef Vec< N, E, STRIDE > | TPosTrans |
typedef E | TElement |
typedef Row | TRow |
typedef E | TCol |
typedef Row< N, EAbs, 1 > | TAbs |
typedef Row< N, EStandard, 1 > | TStandard |
typedef Vec< N, EInvert, 1 > | TInvert |
typedef Row< N, ENormalize, 1 > | TNormalize |
typedef SymMat< N, ESqHermT > | TSqHermT |
typedef EScalarSq | TSqTHerm |
typedef EScalar | Scalar |
typedef ENumber | Number |
typedef EStdNumber | StdNumber |
typedef EPrecision | Precision |
typedef EScalarSq | ScalarSq |
Public Member Functions | |
int | size () const |
int | nrow () const |
int | ncol () const |
ScalarSq | scalarNormSqr () const |
TAbs | abs () const |
TStandard | standardize () const |
EStandard | sum () const |
Row () | |
Row (const Row &src) | |
Row & | operator= (const Row &src) |
template<int SS> | |
Row (const Row< N, E, SS > &src) | |
template<int SS> | |
Row (const Row< N, ENeg, SS > &src) | |
template<class EE, int SS> | |
Row (const Row< N, EE, SS > &vv) | |
Row (const ELT &e) | |
Row (const E &e0, const E &e1) | |
Row (const E &e0, const E &e1, const E &e2) | |
Row (const E &e0, const E &e1, const E &e2, const E &e3) | |
Row (const E &e0, const E &e1, const E &e2, const E &e3, const E &e4) | |
Row (const E &e0, const E &e1, const E &e2, const E &e3, const E &e4, const E &e5) | |
template<class EE> | |
Row (const EE *p) | |
template<class EE> | |
Row & | operator= (const EE *p) |
template<class EE, int SS> | |
Row & | operator= (const Row< N, EE, SS > &vv) |
template<class EE, int SS> | |
Row & | operator+= (const Row< N, EE, SS > &r) |
template<class EE, int SS> | |
Row & | operator+= (const Row< N, negator< EE >, SS > &r) |
template<class EE, int SS> | |
Row & | operator-= (const Row< N, EE, SS > &r) |
template<class EE, int SS> | |
Row & | operator-= (const Row< N, negator< EE >, SS > &r) |
template<class EE, int SS> | |
Row< N, typename CNT< E > ::template Result< EE >::Add > | conformingAdd (const Row< N, EE, SS > &r) const |
template<class EE, int SS> | |
Row< N, typename CNT< E > ::template Result< EE >::Sub > | conformingSubtract (const Row< N, EE, SS > &r) const |
template<class EE, int SS> | |
CNT< E >::template Result< EE > ::Mul | conformingMultiply (const Vec< N, EE, SS > &r) const |
template<int MatNCol, class EE, int CS, int RS> | |
Row< MatNCol, typename CNT< E > ::template Result< EE >::Mul > | conformingMultiply (const Mat< N, MatNCol, EE, CS, RS > &m) const |
const E & | operator[] (int i) const |
E & | operator[] (int i) |
const E & | operator() (int i) const |
E & | operator() (int i) |
ScalarSq | normSqr () const |
ScalarSq | norm () const |
TNormalize | normalize () const |
TInvert | invert () const |
const Row & | operator+ () const |
const TNeg & | operator- () const |
TNeg & | operator- () |
const THerm & | operator~ () const |
THerm & | operator~ () |
const TNeg & | negate () const |
TNeg & | updNegate () |
const THerm & | transpose () const |
THerm & | updTranspose () |
const TPosTrans & | positionalTranspose () const |
TPosTrans & | updPositionalTranspose () |
const TReal & | real () const |
TReal & | real () |
const TImag & | imag () const |
TImag & | imag () |
const TWithoutNegator & | castAwayNegatorIfAny () const |
TWithoutNegator & | updCastAwayNegatorIfAny () |
template<class EE> | |
Row< N, typename CNT< E > ::template Result< EE >::Mul > | scalarMultiply (const EE &e) const |
template<class EE> | |
Row< N, typename CNT< EE > ::template Result< E >::Mul > | scalarMultiplyFromLeft (const EE &e) const |
template<class EE> | |
Row< N, typename CNT< E > ::template Result< EE >::Dvd > | scalarDivide (const EE &e) const |
template<class EE> | |
Row< N, typename CNT< EE > ::template Result< E >::Dvd > | scalarDivideFromLeft (const EE &e) const |
template<class EE> | |
Row< N, typename CNT< E > ::template Result< EE >::Add > | scalarAdd (const EE &e) const |
template<class EE> | |
Row< N, typename CNT< E > ::template Result< EE >::Sub > | scalarSubtract (const EE &e) const |
template<class EE> | |
Row< N, typename CNT< EE > ::template Result< E >::Sub > | scalarSubtractFromLeft (const EE &e) const |
template<class EE> | |
Row & | operator= (const EE &e) |
template<class EE> | |
Row & | operator+= (const EE &e) |
template<class EE> | |
Row & | operator-= (const EE &e) |
template<class EE> | |
Row & | operator*= (const EE &e) |
template<class EE> | |
Row & | operator/= (const EE &e) |
template<class EE> | |
Row & | scalarEq (const EE &ee) |
template<class EE> | |
Row & | scalarPlusEq (const EE &ee) |
template<class EE> | |
Row & | scalarMinusEq (const EE &ee) |
template<class EE> | |
Row & | scalarInverseMinusEq (const EE &ee) |
template<class EE> | |
Row & | scalarTimesEq (const EE &ee) |
template<class EE> | |
Row & | scalarDivideEq (const EE &ee) |
template<class EE> | |
Row & | scalarInverseDivideEq (const EE &ee) |
void | setToNaN () |
template<int NN> | |
const Row< NN, ELT, STRIDE > & | getSubRow (int j) const |
template<int NN> | |
Row< NN, ELT, STRIDE > & | updSubRow (int j) |
Row< N-1, ELT, 1 > | drop1 (int p) const |
template<class EE> | |
Row< N+1, ELT, 1 > | append1 (const EE &v) const |
template<class EE> | |
Row< N+1, ELT, 1 > | insert1 (int p, const EE &v) const |
Static Public Member Functions | |
static const Row & | getAs (const ELT *p) |
static Row & | updAs (ELT *p) |
template<int NN> | |
static const Row & | getSubRow (const Row< NN, ELT, STRIDE > &r, int j) |
template<int NN> | |
static Row & | updSubRow (Row< NN, ELT, STRIDE > &r, int j) |
static Row< N, ELT, 1 > | getNaN () |
Classes | |
struct | EltResult |
struct | Result |
struct | Substitute |
typedef Row<N,EWithoutNegator,STRIDE> TWithoutNegator |
typedef E TElement |
typedef E TCol |
typedef Row<N,ENormalize,1> TNormalize |
typedef EScalarSq TSqTHerm |
typedef EScalar Scalar |
typedef ENumber Number |
typedef EStdNumber StdNumber |
typedef EPrecision Precision |
typedef EScalarSq ScalarSq |
anonymous enum |
Row | ( | ) | [inline] |
Row | ( | const ELT & | e | ) | [inline, explicit] |
Row | ( | const E & | e0, | |
const E & | e1 | |||
) | [inline] |
Row | ( | const E & | e0, | |
const E & | e1, | |||
const E & | e2 | |||
) | [inline] |
Row | ( | const E & | e0, | |
const E & | e1, | |||
const E & | e2, | |||
const E & | e3 | |||
) | [inline] |
Row | ( | const E & | e0, | |
const E & | e1, | |||
const E & | e2, | |||
const E & | e3, | |||
const E & | e4 | |||
) | [inline] |
Row | ( | const E & | e0, | |
const E & | e1, | |||
const E & | e2, | |||
const E & | e3, | |||
const E & | e4, | |||
const E & | e5 | |||
) | [inline] |
Row | ( | const EE * | p | ) | [inline, explicit] |
int size | ( | ) | const [inline] |
int nrow | ( | ) | const [inline] |
int ncol | ( | ) | const [inline] |
ScalarSq scalarNormSqr | ( | ) | const [inline] |
Referenced by Row< 3, Real, S >::norm(), and Row< 3, Real, S >::normSqr().
TAbs abs | ( | ) | const [inline] |
TStandard standardize | ( | ) | const [inline] |
EStandard sum | ( | ) | const [inline] |
Referenced by Row< 3, Real, S >::scalarNormSqr(), SimTK::sum(), and Row< 3, Real, S >::sum().
Row& operator= | ( | const EE * | p | ) | [inline] |
Row<N,typename CNT<E>::template Result<EE>::Add> conformingAdd | ( | const Row< N, EE, SS > & | r | ) | const [inline] |
Row<N,typename CNT<E>::template Result<EE>::Sub> conformingSubtract | ( | const Row< N, EE, SS > & | r | ) | const [inline] |
Referenced by Row< 3, Real, S >::conformingMultiply().
Row<MatNCol,typename CNT<E>::template Result<EE>::Mul> conformingMultiply | ( | const Mat< N, MatNCol, EE, CS, RS > & | m | ) | const [inline] |
const E& operator[] | ( | int | i | ) | const [inline] |
Reimplemented in UnitRow.
E& operator[] | ( | int | i | ) | [inline] |
const E& operator() | ( | int | i | ) | const [inline] |
Reimplemented in UnitRow.
E& operator() | ( | int | i | ) | [inline] |
ScalarSq normSqr | ( | ) | const [inline] |
ScalarSq norm | ( | ) | const [inline] |
Referenced by Row< 3, Real, S >::normalize().
TNormalize normalize | ( | ) | const [inline] |
TInvert invert | ( | ) | const [inline] |
const Row& operator+ | ( | ) | const [inline] |
TNeg& operator- | ( | ) | [inline] |
const TNeg& negate | ( | ) | const [inline] |
TNeg& updNegate | ( | ) | [inline] |
Referenced by Row< 3, Real, S >::operator-().
const THerm& transpose | ( | ) | const [inline] |
Referenced by Row< 3, Real, S >::operator~().
THerm& updTranspose | ( | ) | [inline] |
Referenced by Row< 3, Real, S >::operator~().
const TPosTrans& positionalTranspose | ( | ) | const [inline] |
Referenced by SimTK::crossMat(), SimTK::dot(), and SimTK::outer().
TPosTrans& updPositionalTranspose | ( | ) | [inline] |
const TReal& real | ( | ) | const [inline] |
TReal& real | ( | ) | [inline] |
const TImag& imag | ( | ) | const [inline] |
TImag& imag | ( | ) | [inline] |
const TWithoutNegator& castAwayNegatorIfAny | ( | ) | const [inline] |
Referenced by Row< 3, Real, S >::normalize().
TWithoutNegator& updCastAwayNegatorIfAny | ( | ) | [inline] |
Row<N, typename CNT<EE>::template Result<E>::Mul> scalarMultiplyFromLeft | ( | const EE & | e | ) | const [inline] |
Row<N, typename CNT<EE>::template Result<E>::Dvd> scalarDivideFromLeft | ( | const EE & | e | ) | const [inline] |
Row<N, typename CNT<EE>::template Result<E>::Sub> scalarSubtractFromLeft | ( | const EE & | e | ) | const [inline] |
Row& operator= | ( | const EE & | e | ) | [inline] |
Row& operator+= | ( | const EE & | e | ) | [inline] |
Row& operator-= | ( | const EE & | e | ) | [inline] |
Row& operator*= | ( | const EE & | e | ) | [inline] |
Row& operator/= | ( | const EE & | e | ) | [inline] |
Row& scalarEq | ( | const EE & | ee | ) | [inline] |
Referenced by Row< 3, Real, S >::operator=().
Row& scalarPlusEq | ( | const EE & | ee | ) | [inline] |
Referenced by Row< 3, Real, S >::operator+=().
Row& scalarMinusEq | ( | const EE & | ee | ) | [inline] |
Referenced by Row< 3, Real, S >::operator-=().
Row& scalarInverseMinusEq | ( | const EE & | ee | ) | [inline] |
Row& scalarTimesEq | ( | const EE & | ee | ) | [inline] |
Referenced by Row< 3, Real, S >::operator*=().
Row& scalarDivideEq | ( | const EE & | ee | ) | [inline] |
Referenced by Row< 3, Real, S >::operator/=().
Row& scalarInverseDivideEq | ( | const EE & | ee | ) | [inline] |
void setToNaN | ( | ) | [inline] |
Referenced by Row< 3, Real, S >::Row().
const Row<NN,ELT,STRIDE>& getSubRow | ( | int | j | ) | const [inline] |
Row<NN,ELT,STRIDE>& updSubRow | ( | int | j | ) | [inline] |
Row<N-1,ELT,1> drop1 | ( | int | p | ) | const [inline] |
Row<N+1,ELT,1> append1 | ( | const EE & | v | ) | const [inline] |
Referenced by Row< 3, Real, S >::insert1().
Row<N+1,ELT,1> insert1 | ( | int | p, | |
const EE & | v | |||
) | const [inline] |
static const Row& getAs | ( | const ELT * | p | ) | [inline, static] |
Referenced by Row< 3, Real, S >::getSubRow().
static Row& updAs | ( | ELT * | p | ) | [inline, static] |
Referenced by Row< 3, Real, S >::updSubRow().
static Row<N,ELT,1> getNaN | ( | ) | [inline, static] |