1 #ifndef SimTK_SIMMATRIX_ROWVECTOR_H_
2 #define SimTK_SIMMATRIX_ROWVECTOR_H_
79 RowVector_(
int n,
const ELT* cppInitialValues) :
Base(n, cppInitialValues) {}
92 RowVector_(
int n,
int stride,
const S* data,
bool) :
Base(n, stride, data) {}
98 for (
int i = 0; i < M; ++i)
K::StdNumber StdNumber
Definition: CompositeNumericalTypes.h:163
K::TNeg TNeg
Definition: CompositeNumericalTypes.h:139
K::Scalar Scalar
Definition: CompositeNumericalTypes.h:160
K::Number Number
Definition: CompositeNumericalTypes.h:162
@ CppNScalarsPerElement
Definition: MatrixBase.h:154
CNT< E >::TNeg ENeg
Definition: MatrixBase.h:76
ELT & updElt(int i, int j)
Definition: MatrixBase.h:656
ENumber Number
Definition: MatrixBase.h:98
MatrixBase & elementwiseSubtractScalarInPlace(const S &s)
Set M(i,j)-=s for every element of M and some value s.
MatrixBase & elementwiseAddScalarInPlace(const S &s)
Set M(i,j)+=s for every element of M and some value s.
EStdNumber StdNumber
Definition: MatrixBase.h:99
This is a dataless rehash of the MatrixBase class to specialize it for RowVectors.
Definition: RowVectorBase.h:42
RowVectorBase & operator*=(const StdNumber &t)
Definition: RowVectorBase.h:142
RowVectorBase & operator-=(const RowVectorBase &r)
Definition: RowVectorBase.h:145
RowVectorBase & operator=(const RowVectorBase &b)
Copy assignment is deep copy but behavior depends on type of lhs: if view, rhs must match.
Definition: RowVectorBase.h:136
RowVectorBase & operator+=(const RowVectorBase &r)
Definition: RowVectorBase.h:144
RowVectorBase & operator/=(const StdNumber &t)
Definition: RowVectorBase.h:143
Represents a variable size row vector; much less common than the column vector type Vector_.
Definition: RowVector_.h:52
RowVector_ & operator-=(const ELT &b)
Definition: RowVector_.h:114
RowVector_(int n)
Definition: RowVector_.h:78
RowVector_ & operator/=(const StdNumber &t)
Definition: RowVector_.h:112
RowVector_()
Definition: RowVector_.h:61
RowVector_(int n, int stride, const S *data, bool)
Borrowed-space construction with explicit stride supplied as "number of scalars between elements".
Definition: RowVector_.h:92
RowVector_ & operator=(const ELT &v)
Definition: RowVector_.h:102
RowVector_ & operator+=(const ELT &b)
Definition: RowVector_.h:113
RowVector_ & operator*=(const StdNumber &t)
Definition: RowVector_.h:111
RowVector_(const BaseNeg &src)
Definition: RowVector_.h:69
RowVector_(const Base &src)
Definition: RowVector_.h:68
RowVector_(int n, const S *cppData, bool)
Construct a Vector which uses borrowed space with assumed element-to-element stride equal to the C++ ...
Definition: RowVector_.h:86
RowVector_(const RowVector_ &src)
Definition: RowVector_.h:65
RowVector_ & operator=(const RowVectorBase< EE > &b)
Definition: RowVector_.h:104
RowVector_(const Row< M, ELT > &v)
Convert a Row to a RowVector_.
Definition: RowVector_.h:97
RowVector_(int n, const ELT &initialValue)
Definition: RowVector_.h:80
RowVector_(int n, const ELT *cppInitialValues)
Definition: RowVector_.h:79
RowVector_(int n, S *cppData, bool)
Definition: RowVector_.h:87
RowVector_ & operator-=(const RowVectorBase< EE > &b)
Definition: RowVector_.h:108
RowVector_ & operator=(const RowVector_ &src)
Definition: RowVector_.h:73
RowVector_ & operator+=(const RowVectorBase< EE > &b)
Definition: RowVector_.h:106
RowVector_(int n, int stride, S *data, bool)
Definition: RowVector_.h:93
This is a fixed-length row vector designed for no-overhead inline computation.
Definition: Row.h:132
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37