Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Disown | Disowns a pointer to an array from calling matrix Values1D. |
| 2 | void Disown(ref Double[] aArray, ref Int32 aIndex, ref Int32 ARows, ref Int32 ACols, ref Boolean aIsComplex) | Disowns a pointer to an array from matrix Values1D. |
Overload 1: void Disown
Disowns a pointer to an array from calling matrix Values1D.
Result: stored in self (calling object)
It dismisses the Values, Values1D, CValues1D array and sets the Dew.Math.TMtx.Rows and Dew.Math.TMtx.Cols to zero.
Overload 2: void Disown(ref Double[] aArray, ref Int32 aIndex, ref Int32 ARows, ref Int32 ACols, ref Boolean aIsComplex)
Disowns a pointer to an array from matrix Values1D.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | Double[] (ref) | |
| 2 | aIndex | Int32 (ref) | output |
| 3 | ARows | Int32 (ref) | output |
| 4 | ACols | Int32 (ref) | output |
| 5 | aIsComplex | Boolean (ref) |
Result: stored in self (calling object)
The method does the opposite of the Dew.Math.TMtx.Adopt method. It will set the AArrays to Pointer(Values), ARows and ACols to matrix's Dew.Math.TMtx.Rows and Dew.Math.TMtx.Cols and IsComplex to matrix Dew.Math.TMtxVec.Complex property. Use the Disown method to "disconnect" AArray from the TMtx.Values1D. Disown sets Values1D and CValues1D 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 Dew.Math.TMtx.Adopt method.