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://www.nag.com/numeric/nl/nagdoc_28.7/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 .