TMtxByte::SetIt Method

Overload List

#SignatureDescription
1TMtxInt *SetIt(int ARows, int ACols, TIntPrecision aPrecision, const DewArray<int> &A);Sets matrix values.
2TMtxInt *SetIt(int ARows, int ACols, const DewArray<int> &A);

Overload 1: TMtxInt *SetIt(int ARows, int ACols, TIntPrecision aPrecision, const DewArray<int> &A);

Sets matrix values.

#NameTypeDescription
1ARowsint
2AColsint
3aPrecisionTIntPrecision
4Aconst DewArray<int> &
Remarks:

Sets matrix values. This method gives you the possibility to pass large arrays of elements without having to declare constant arrays.

Pass all elements in A array to the calling matrix. The TMtxByte::Rows and TMtxByte::Cols properties of the calling matrix are set to ARows and ACols and the TMtxByte::IntPrecision property is set to aPrecision. An exception is raised if the matrix size (ARows*ACols) does not match the number of integer numbers in A.

See Also: TMtxByte::SetVal
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler

Overload 2: TMtxInt *SetIt(int ARows, int ACols, const DewArray<int> &A);

#NameTypeDescription
1ARowsint
2AColsint
3Aconst DewArray<int> &
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler