Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Disown(DewArray<double> &aArray, int &aIndex, int &aRows, int &aCols, bool &aIsComplex) const; | Disowns a pointer to an array from matrix Values1D. |
| 2 | void Disown(DewArray<float> &aArray, int &aIndex, int &aRows, int &aCols, bool &aIsComplex) const; | |
| 3 | void Disown() const; | Disowns a pointer to an array from calling matrix Values1D. |
Overload 1: void Disown(DewArray<double> &aArray, int &aIndex, int &aRows, int &aCols, bool &aIsComplex) const;
Disowns a pointer to an array from matrix Values1D.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | DewArray<double> & | |
| 2 | aIndex | int & | |
| 3 | aRows | int & | |
| 4 | aCols | int & | |
| 5 | aIsComplex | bool & |
Remarks:
The method does the opposite of the Matrix::Adopt method. It will set the AArrays to Pointer(Values), ARows and ACols to matrix's Matrix::Rows and Matrix::Cols and IsComplex to matrix 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 Matrix::Adopt method.
See Also: Matrix::Adopt
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: void Disown(DewArray<float> &aArray, int &aIndex, int &aRows, int &aCols, bool &aIsComplex) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aArray | DewArray<float> & | |
| 2 | aIndex | int & | |
| 3 | aRows | int & | |
| 4 | aCols | int & | |
| 5 | aIsComplex | bool & |
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler
Overload 3: void Disown() const;
Disowns a pointer to an array from calling matrix Values1D.
Remarks:
It dismisses the Values, Values1D, CValues1D array and sets the Matrix::Rows and Matrix::Cols to zero.
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler