NAG Library Function Document

nag_complex_add (a02cac)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1
Purpose

nag_complex_add (a02cac) adds two complex numbers.

2
Specification

#include <nag.h>
#include <naga02.h>
Complex  nag_complex_add (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_add (a02cac) 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