naginterfaces.library.blas.zdiv

naginterfaces.library.blas.zdiv(a, b)[source]

zdiv computes the quotient of two complex scalars.

For full information please refer to the NAG Library document for f06cl

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06clf.html

Parameters
acomplex

The value .

bcomplex

The value .

Returns
sdivcomplex

The value .

failbool

if would overflow (in which case ) or (in which case ); otherwise .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

zdiv returns the value , where

Here is a large complex value, given by

is the float value given by , and for float , is taken as .