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

Disowns a pointer to an array from matrix Values1D.

Pascal
procedure Disown(out AArray: PAPointer; out ARows: integer; out ACols: integer; out aIntPrecision: TIntPrecision); overload;

The method does the opposite of the Adopt method. It will set the AArrays to Pointer(Values), ARows and ACols to matrix's Rows and Cols and aIntPrecision to matrix IntPrecision property. Use the Disown method to "disconnect" AArray from the TMtxInt.IValues1D. Disown sets IValues1D, SValues1D and BValues1D array pointers to nil and Rows, Cols properties to ACols, 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!