Navigation: Scripting Reference Manual > Functions & Subroutines > CmpxSqrt

 

CmpxSqrt

 

Contact Us: fredsupport@photonengr.com

 

Description

Calculates the square root of a complex number and stores the result in another complex number.

 

Syntax

CmpxSqrt real1, imag1, real2, imag2

 

Parameters

real1 As Double

Real part of the complex number whose root is to be found.

 

imag1 As Double

Imaginary part of the complex number whose root is to be found.

 

real2 As Double

The real part of the resulting complex number.

 

imag2 As Double

The imaginary part of the resulting complex number.

 

Remarks

This subroutine calculates the square root of a complex number and stores the result in another complex number. No errors are set.

 

See Also

CmpxAdd

CmpxSub

CmpxMult

CmpxDiv

CmpxArg

CmpxAbs

CmpxAbs2

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC