MathcadArrayFree

void MathcadArrayFree(array)
COMPLEXARRAY * const array;

Defined in mcadincl.h. 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.

Parameter

Description

array

Points 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.

Notes

To free memory for scalars, use MathcadFree. See the example.