NAG Library Function Document

nag_complex_equal (a02cgc)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1
Purpose

nag_complex_equal (a02cgc) compares two complex numbers for equality.

2
Specification

#include <nag.h>
#include <naga02.h>
Nag_Boolean  nag_complex_equal (Complex v, Complex w)

3
Description

None.

4
References

None.

5
Arguments

1:     v ComplexInput
On entry: a valid complex number.
2:     w ComplexInput
On entry: a valid complex number.

6
Error Indicators and Warnings

None.

7
Accuracy

Not applicable.

8
Parallelism and Performance

nag_complex_equal (a02cgc) 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