Description Returns the sum of the squares of the components of a complex number, i.e. the square of the modulus.
Syntax ans = CmpxAbs2 ( real, imag )
Parameters ans (Double) The sum of the squares of the components.
real As Double The real component of the complex number.
imag As Double The imaginary component of the complex number.
Remarks This function returns the sum of the squares of the components of a complex number. No errors are set.
See Also Examples
|