NAG CL Interfacea02bac (create)

1Purpose

a02bac returns a complex number from real and imaginary parts.

2Specification

 #include
 Complex a02bac (double x, double y)
The function may be called by the names: a02bac, nag_complex_create or nag_complex.

None.

None.

5Arguments

1: $\mathbf{x}$double Input
On entry: real part of complex number.
2: $\mathbf{y}$double Input
On entry: imaginary part of complex number.

None.

Not applicable.

8Parallelism and Performance

a02bac is not threaded in any implementation.

None.

10Example

This example illustrates the calls to all the complex functions in Chapter A02.

10.1Program Text

Program Text (a02bace.c)

None.

10.3Program Results

Program Results (a02bace.r)