You are here: Symbol Reference > MtxVec Namespace > Classes > TVec Class > public > Disown Method > TVec.Disown Method (PAPointer, integer, TMtxFloatPrecision)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVec.Disown Method (PAPointer, integer, TMtxFloatPrecision)

Disowns a values pointer.

Pascal
procedure Disown(out AArray: PAPointer; out ALength: integer; out aFloatPrecision: TMtxFloatPrecision); overload;

Disowns a values pointer. The Disown method is the opposite of the Adopt method. It will set the AArrays to Pointer(Values), ALength to vector's TMtxVecBase.Length and IsComplex to TMtxVec.ComplexComplexproperty. 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 Adopt method.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!