Math387::Root Function

Overload List

#SignatureDescription
1TCplx Root(const TCplx &A, int K, int N);The root of complex number.
2TSCplx Root(const TSCplx &A, int K, int N);

Overload 1: TCplx Root(const TCplx &A, int K, int N);

The root of complex number.

#NameTypeDescription
1Aconst TCplx &
2Kint
3Nint

Returns: 'N' roots of 'A' by varying 'K' from 0..N-1.

Remarks:

This routine uses DeMoivre's theorem to calculate all roots of complex number.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 2: TSCplx Root(const TSCplx &A, int K, int N);

#NameTypeDescription
1Aconst TSCplx &
2Kint
3Nint
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler