TVec::Disown Method

Overload List

#SignatureDescription
1void Disown(DewArray<float> &aArray, int &aIndex, int &ALength, bool &aIsComplex);Disowns a values pointer.
2void Disown(DewArray<double> &aArray, int &aIndex, int &ALength, bool &aIsComplex);
3void 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.

#NameTypeDescription
1aArrayDewArray<float> &
2aIndexint &
3ALengthint &
4aIsComplexbool &
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);

#NameTypeDescription
1aArrayDewArray<double> &
2aIndexint &
3ALengthint &
4aIsComplexbool &
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