MatrixInt::SetVal Method

Overload List

#SignatureDescription
1TMtxInt *SetVal(const int Value) const;Set all calling object elements to Value.
2TMtxVecInt *SetVal(const int Value, const int Index, const int Len) const;Set calling object elements [Index]..[Index+Len-1] to Value.
3TMtxInt *SetVal(const int Value, int Row, int Col, int ToRow, int ToCol) const;Initializes matrix values to Value.

Overload 1: TMtxInt *SetVal(const int Value) const;

Set all calling object elements to Value.

#NameTypeDescription
1Valueconst int
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TMtxVecInt *SetVal(const int Value, const int Index, const int Len) const;

Set calling object elements [Index]..[Index+Len-1] to Value.

#NameTypeDescription
1Valueconst int
2Indexconst int
3Lenconst int
Remarks:

An exception is raised if array borders are overrun/underrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxInt *SetVal(const int Value, int Row, int Col, int ToRow, int ToCol) const;

Initializes matrix values to Value.

#NameTypeDescription
1Valueconst int
2Rowint
3Colint
4ToRowint
5ToColint
Remarks:

Sets the calling matrix elements [Row,Col]..[ToRow,ToCol] to Value. An exception is raised if TMtxVecBase::ConditionCheck is true and array bounds are overrun.

See Also: MatrixInt::SetIt, MatrixInt::SetZero
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler