Custom Functions > Function Definitions > MathcadArrayFree
  
MathcadArrayFree
This function frees memory that was allocated by the MathcadArrayAllocate function to the hReal and hImag members of the argument array. A NULL pointer argument is ignored.
void MathcadArrayFree(array)
COMPLEXARRAY * const array;
Element
Description
array
Pointer to the COMPLEXARRAY structure that is to be filled with the information about an array.
The COMPLEXARRAY structure has the following form:
typedef struct tagCOMPLEXARRAY {
unsigned int rows;
unsigned int cols;
double **hReal;
double **hImag;

} COMPLEXARRAY;
Return Value
The function does not return a value.
Additional Information
To free memory for scalars, use MathcadFree.