Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure Disown; | Disowns a calling vector values pointer by setting Values, CValues to nil and TMtxVecBase.Length to 0. |
| 2 | procedure Disown(out aArray: TSingleArray; out aIndex: Integer; out ALength: Integer; out aIsComplex: Boolean); | Disowns a values pointer. |
Overload 1: procedure Disown;
Disowns a calling vector values pointer by setting Values, CValues to nil and TMtxVecBase.Length to 0.
Result: stored in self (calling object)
Overload 2: procedure Disown(out aArray: TSingleArray; out aIndex: Integer; out ALength: Integer; out aIsComplex: Boolean);
Disowns a values pointer.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | TSingleArray | |
| 2 | aIndex | Integer | |
| 3 | ALength | Integer | |
| 4 | aIsComplex | Boolean |
Result: stored in self (calling object)
Remarks:
Disowns a values pointer. The Disown method is the opposite of the Vector.Adopt method. It will set the AArrays to Pointer(Values), ALength to vector's TMtxVecBase.Length and IsComplex to TMtxVec.Complex property. Use the Disown method to "disconnect" AArray from the TVec.Values. Disown sets Values and CValues array pointers to nil and Length property to zero, but without freeing the allocated memory. The allocated memory can be disowned only, if it was adopted with a call to the Vector.Adopt method.
See Also: Vector.Adopt