Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt *SetIt(const int Rows, const int Cols, const DewArray<int> &A) const; | Sets object values. |
| 2 | TMtxInt *SetIt(const int Rows, const int Cols, TIntPrecision aPrecision, const DewArray<int> &A) const; | Sets matrix values. |
Overload 1: TMtxInt *SetIt(const int Rows, const int Cols, const DewArray<int> &A) const;
Sets object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Rows | const int | |
| 2 | Cols | const int | |
| 3 | A | const DewArray<int> & |
Remarks:
Set object values. Method call does not change object's size, but it does check for array overrun. The elements of A array are copied to the calling object elements, starting at Index. The IntPrecision property of the calling object is not changed.
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 2: TMtxInt *SetIt(const int Rows, const int Cols, TIntPrecision aPrecision, const DewArray<int> &A) const;
Sets matrix values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Rows | const int | |
| 2 | Cols | const int | |
| 3 | aPrecision | TIntPrecision | |
| 4 | A | const DewArray<int> & |
Remarks:
Pass all elements in A array to the calling matrix. The MatrixInt::Rows and MatrixInt::Cols properties of the calling matrix are set to ARows and ACols and the TMtxVecInt::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: MatrixInt::SetVal
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler