Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Disown(DewArray<float> &aArray, int &aIndex, int &ALength, bool &aIsComplex); | Disowns a values pointer. |
| 2 | void Disown(DewArray<double> &aArray, int &aIndex, int &ALength, bool &aIsComplex); | |
| 3 | void Disown(); | Disowns a calling vector values pointer by setting Values, CValues to nil and TVec::Length to 0. |
Overload 1: void Disown(DewArray<float> &aArray, int &aIndex, int &ALength, bool &aIsComplex);
Disowns a values pointer.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | DewArray<float> & | |
| 2 | aIndex | int & | |
| 3 | ALength | int & | |
| 4 | aIsComplex | bool & |
Remarks:
Disowns a values pointer. The Disown method is the opposite of the TVec::Adopt method. It will set the AArrays to Pointer(Values), ALength to vector's TVec::Length and IsComplex to TVec::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 TVec::Adopt method.
See Also: TVec::Adopt
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 2: void Disown(DewArray<double> &aArray, int &aIndex, int &ALength, bool &aIsComplex);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | DewArray<double> & | |
| 2 | aIndex | int & | |
| 3 | ALength | int & | |
| 4 | aIsComplex | bool & |
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 3: void Disown();
Disowns a calling vector values pointer by setting Values, CValues to nil and TVec::Length to 0.
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler