Overload List
Overload 1: class operator Implicit(const AValue: TCplxArray): Vector;
Implicit type conversion from an array of TCplx to Vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | TCplxArray |
Result: stored in self (calling object), returns self for chaining
Copies array and resizes resulting vector. Example of usage in Delphi XE7 and newer:
var a: Vector;
begin
a := [Cplx(1,2),Cplx(3,4),Cplx(5)]; a := [Cplx(1,2.2),Cplx(3,4)] + [Cplx(1,2)]; //the + here is "column concatenation" a := [Cplx(1,2.2),Cplx(3,4)] + a; //operator not applicable (it wont compile) end;
Overload 2: class operator Implicit(const AValue: Vector): TDenseMtxVec;
Returns a pointer to the internal TVec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | Vector |
Result: stored in self (calling object), returns self for chaining
Overload 3: class operator Implicit(const AValue: Vector): TMtxVec;
Returns a pointer to the internal TVec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | Vector |
Result: stored in self (calling object), returns self for chaining
Overload 4: class operator Implicit(const AValue: Vector): TMtxVecBase;
Returns a pointer to the internal TVec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | Vector |
Returns: TMtxVecBase
Overload 5: class operator Implicit(const AValue: Vector): TVec;
Implicit type conversion from Vector to TVec.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | Vector |
Result: stored in self (calling object), returns self for chaining
Returns a pointer to the internal TVec object.
Overload 6: class operator Implicit(const a: Vector): TCplx};
Overload 7: class operator Implicit(const a: Vector): TSCplx};
Overload 8: class operator Implicit(const a: Vector): Double};
Overload 9: class operator Implicit(const a: Vector): Single};
Overload 10: class operator Implicit(const AValue: TDoubleArray): Vector;
Implicit type conversion from an array of double to Vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | TDoubleArray |
Result: stored in self (calling object), returns self for chaining
Copies array and resizes resulting vector. Example of usage in Delphi XE7 and newer:
var a: Vector;
begin
a := [1,2,3,4,5];
a := [1,2.2,3,4] + [1,2]; //the + here is "column concatenation" a := [1,2.2,3,4] + a; //operator not applicable (it wont compile) end;
Overload 11: class operator Implicit(const AValue: TCplx}): Vector;
Implicit type conversion from Span to Vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | TCplx} |
Result: stored in self (calling object), returns self for chaining
Overload 12: class operator Implicit(const AValue: Double}): Vector;
Implicit type conversion from Span to Vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AValue | Double} |
Result: stored in self (calling object), returns self for chaining