NAG Library Function Document

nag_complex_abs (a02dbc)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1
Purpose

nag_complex_abs (a02dbc) returns the modulus of a complex number.

2
Specification

#include <nag.h>
#include <naga02.h>
double  nag_complex_abs (Complex z)

3
Description

None.

4
References

None.

5
Arguments

1:     z ComplexInput
On entry: a valid complex number.

6
Error Indicators and Warnings

None.

7
Accuracy

Not applicable.

8
Parallelism and Performance

nag_complex_abs (a02dbc) is not threaded in any implementation.

9
Further Comments

None.

10
Example

See Section 10 in nag_complex (a02bac).
© The Numerical Algorithms Group Ltd, Oxford, UK. 2017