COMPLEXSCALAR Structure |
Scalar values in custom Mathcad functions are passed as COMPLEXSCALAR structures, as defined in mcadincl.h. The COMPLEXSCALAR structure has two members:
If the result of your function is a COMPLEXSCALAR structure, allocate memory for the complex scalar using the MathcadAllocate function.