NAG Library Function Document

nag_complex_sqrt (a02dcc)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1
Purpose

nag_complex_sqrt (a02dcc) returns the square root of a complex number.

2
Specification

#include <nag.h>
#include <naga02.h>
Complex  nag_complex_sqrt (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_sqrt (a02dcc) 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