Overload List
| # | Signature | Description |
|---|---|---|
| 1 | class operator Implicit(const AValue: MatrixInt): TMtxInt; | Implicit type conversion from MatrixInt to TMtxInt. |
| 2 | class operator Implicit(const AValue: MatrixInt): TMtxVecBase; | Implicit type conversion from MatrixInt to TMtxInt. |
| 3 | class operator Implicit(const AValue: MatrixInt): TMtxVecInt; | Implicit type conversion from MatrixInt to TMtxInt. |
| 4 | class operator Implicit(const a: MatrixInt): Byte}; | Implicit conversion from MatrixInt to Span<Byte>. |
| 5 | class operator Implicit(const a: MatrixInt): Int16}; | Implicit conversion from MatrixInt to Span<SmallInt>. |
| 6 | class operator Implicit(const a: MatrixInt): Int32}; | Implicit conversion from MatrixInt to Span<Integer>. |
| 7 | class operator Implicit(const AValue: TIntegerArray): MatrixInt; | Implicit type conversion from an array of integer to MatrixInt. |
| 8 | class operator Implicit(const AValue: T2DIntegerArray): MatrixInt; | Implicit type conversion from an array of integer to MatrixInt. |
Overload 1: class operator Implicit(const AValue: MatrixInt): TMtxInt;
Implicit type conversion from MatrixInt to TMtxInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | MatrixInt |
Result: stored in self (calling object), returns self for chaining
Returns a pointer to the internal TMtxInt object.
Overload 2: class operator Implicit(const AValue: MatrixInt): TMtxVecBase;
Implicit type conversion from MatrixInt to TMtxInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | MatrixInt |
Returns: TMtxVecBase
Returns a pointer to the internal TMtxInt object.
Overload 3: class operator Implicit(const AValue: MatrixInt): TMtxVecInt;
Implicit type conversion from MatrixInt to TMtxInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | MatrixInt |
Result: stored in self (calling object), returns self for chaining
Returns a pointer to the internal TMtxInt object.
Overload 4: class operator Implicit(const a: MatrixInt): Byte};
Overload 5: class operator Implicit(const a: MatrixInt): Int16};
Implicit conversion from MatrixInt to Span<SmallInt>.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | MatrixInt |
Returns: Int16}
Overload 6: class operator Implicit(const a: MatrixInt): Int32};
Implicit conversion from MatrixInt to Span<Integer>.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | MatrixInt |
Returns: Int32}
Overload 7: class operator Implicit(const AValue: TIntegerArray): MatrixInt;
Implicit type conversion from an array of integer to MatrixInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | TIntegerArray |
Result: stored in self (calling object), returns self for chaining
Copies array, but does not resize resulting matrix. Example of usage in Delphi XE7 and newer:
var a: MatrixInt;
begin
a.Size(2,2);
a := [1,2,3,4]; //same as a = [[1,2],[3,4]] end;
Overload 8: class operator Implicit(const AValue: T2DIntegerArray): MatrixInt;
Implicit type conversion from an array of integer to MatrixInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | T2DIntegerArray |
Result: stored in self (calling object), returns self for chaining
Copies array and resizes resulting matrix. Example of usage:
var a: MatrixInt;
begin
a := [[1,2],[3,4]];
a := [[1,2],[3,4]] + [1,2]; //the + here is "row concatenation" a := [1,2,3,4] + a; //operator not applicable (it wont compile) end;