Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Disown | Disowns a calling vector values pointer by setting Values, CValues to nil and Dew.Math.TMtxVecBase.Length to 0. |
| 2 | void Disown(ref Single[] aArray, ref Int32 aIndex, ref Int32 ALength, ref Boolean aIsComplex) | Disowns a values pointer. |
Overload 1: void Disown
Disowns a calling vector values pointer by setting Values, CValues to nil and Dew.Math.TMtxVecBase.Length to 0.
Result: stored in self (calling object)
Overload 2: void Disown(ref Single[] aArray, ref Int32 aIndex, ref Int32 ALength, ref Boolean aIsComplex)
Disowns a values pointer.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | Single[] (ref) | |
| 2 | aIndex | Int32 (ref) | output |
| 3 | ALength | Int32 (ref) | output |
| 4 | aIsComplex | Boolean (ref) |
Result: stored in self (calling object)
Disowns a values pointer. The Disown method is the opposite of the Dew.Math.TVec.Adopt method. It will set the AArrays to Pointer(Values), ALength to vector's Dew.Math.TMtxVecBase.Length and IsComplex to Dew.Math.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 Dew.Math.TVec.Adopt method.