Navigation: Scripting Reference Manual > Functions & Subroutines > CmpxDiv

 

CmpxDiv

 

Contact Us: fredsupport@photonengr.com

 

Description

Divides one complex number by another and stores the result in a third.

 

Syntax

CmpxDiv real1, imag1, real2, imag2, real3, imag3

 

Parameters

real1 As Double

Real part of the first complex number.

 

imag1 As Double

Imaginary part of the first complex number.

 

real2 As Double

Real part of the second complex number.

 

imag2 As Double

Imaginary part of the second complex number.

 

real3 As Double

The real part of the resulting complex number.

 

imag3 As Double

The imaginary part of the resulting complex number.

 

Remarks

This subroutine divides one complex number by another and stores the result in a third. Specifically, it performs

 

(real1,imag1)/(real2,imag2)=(real3,imag3).

 

No errors are set.

 

See Also

CmpxAdd

CmpxSub

CmpxMult

CmpxArg

CmpxSqrt

CmpxAbs

CmpxAbs2

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC