NAG Library Manual, Mark 27.1
Interfaces:
FL
CL
CPP
AD
NAG CL Interface Introduction
A02 (Complex) Chapter Contents
A02 (Complex) Chapter Introduction
a02ba:
FL
CL
CPP
AD
NAG CL Interface
a02bac (create)
Keyword Search:
NAG Library Manual, Mark 27.1
Interfaces:
FL
CL
CPP
AD
NAG CL Interface Introduction
A02 (Complex) Chapter Contents
A02 (Complex) Chapter Introduction
a02ba:
FL
CL
CPP
AD
▸
▿
Contents
1
Purpose
2
Specification
3
Description
4
References
5
Arguments
6
Error Indicators and Warnings
7
Accuracy
8
Parallelism and Performance
9
Further Comments
▸
▿
10
Example
10.1
Program Text
10.2
Program Data
10.3
Program Results
© The Numerical Algorithms Group Ltd. 2020
Settings help
CL Name Style:
Short (
a00aac
)
Long (
impl_details
)
Full (
nag_info_impl_details
)
1
Purpose
a02bac
returns a complex number from real and imaginary parts.
2
Specification
copy
#include <nag.h>
Complex
a02bac
(
double
x
,
double
y
)
The function may be called by the names:
a02bac
,
nag_complex_create
or
nag_complex
.
3
Description
None.
4
References
None.
5
Arguments
1:
x
–
double
Input
On entry
: real part of complex number.
2:
y
–
double
Input
On entry
: imaginary part of complex number.
6
Error Indicators and Warnings
None.
7
Accuracy
Not applicable.
8
Parallelism and Performance
a02bac
is not threaded in any implementation.
9
Further Comments
None.
10
Example
This example illustrates the calls to all the complex functions in
Chapter
A02
.
10.1
Program Text
Program Text (a02bace.c)
10.2
Program Data
None.
10.3
Program Results
Program Results (a02bace.r)
NAG Library Manual, Mark 27.1
Interfaces:
FL
CL
CPP
AD
NAG CL Interface Introduction
A02 (Complex) Chapter Contents
A02 (Complex) Chapter Introduction
a02ba:
FL
CL
CPP
AD
© The Numerical Algorithms Group Ltd. 2020