Math387.Root Method

Overload List

#SignatureDescription
1function Root(const A: TCplx; K: Integer; N: Integer): TCplx;The root of complex number.
2function Root(const A: TSCplx; K: Integer; N: Integer): TSCplx;

Overload 1: function Root(const A: TCplx; K: Integer; N: Integer): TCplx;

The root of complex number.

#NameTypeDescription
1ATCplx
2KInteger
3NInteger

Returns: TCplx (complex) - '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.

Overload 2: function Root(const A: TSCplx; K: Integer; N: Integer): TSCplx;

#NameTypeDescription
1ATSCplx
2KInteger
3NInteger

Returns: TSCplx