Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *SetVal(double Value) const; | Initialize elements to Value. |
| 2 | TMtxVec *SetVal(double Value, int Index, int Len) const; | Set all calling object elements [Index]..[Index+Len-1] to real Value. |
| 3 | TMtxVec *SetVal(TCplx Value) const; | Set all calling object complex elements to complex Value. |
| 4 | TMtxVec *SetVal(TCplx Value, int Index, int Len) const; | Set calling object complex elements [Index]..[Index+Len-1] to complex Value. |
| 5 | TMtx *SetVal(const double Value, int Row, int Col, int ToRow, int ToCol) const; | Initializes matrix values to Value. |
| 6 | TMtx *SetVal(const TCplx &Value, int Row, int Col, int ToRow, int ToCol) const; | Sets the calling matrix elements [Row,Col]..[Row+ToRow,Col+ToCol] to complex value Value. |
Overload 1: TMtxVec *SetVal(double Value) const;
Initialize elements to Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double |
Set all calling object elements to Value. If the calling object is complex then the real part is set to Value and the imaginary is set to zero.
Overload 2: TMtxVec *SetVal(double Value, int Index, int Len) const;
Set all calling object elements [Index]..[Index+Len-1] to real Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Index | int | |
| 3 | Len | int |
If the calling object is complex then the real part is set to Value and the imaginary is set to zero. An exception is raised if array borders are overrun/underrun.
Overload 3: TMtxVec *SetVal(TCplx Value) const;
Set all calling object complex elements to complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx |
Overload 4: TMtxVec *SetVal(TCplx Value, int Index, int Len) const;
Set calling object complex elements [Index]..[Index+Len-1] to complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | |
| 2 | Index | int | |
| 3 | Len | int |
Matrix::Complex properties of the calling object are set to true even before the call it was false. An exception is raised if calling object array borders are overrun/underrun.
Overload 5: TMtx *SetVal(const double Value, int Row, int Col, int ToRow, int ToCol) const;
Initializes matrix values to Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double | |
| 2 | Row | int | |
| 3 | Col | int | |
| 4 | ToRow | int | |
| 5 | ToCol | int |
Sets the calling matrix elements [Row,Col]..[Row+ToRow,Col+ToCol] to Value. An exception is raised if Matrix::ConditionCheck is true and array bounds are overrun.
Overload 6: TMtx *SetVal(const TCplx &Value, int Row, int Col, int ToRow, int ToCol) const;
Sets the calling matrix elements [Row,Col]..[Row+ToRow,Col+ToCol] to complex value Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & | |
| 2 | Row | int | |
| 3 | Col | int | |
| 4 | ToRow | int | |
| 5 | ToCol | int |
Matrix::Complex properties of the calling object are set to true even before the call it was false. An exception is raised if array bounds are overrun.