Toggle navigation
GENEUS
Overview
Contents
Source Files
Modules
Procedures
Derived Types
Programs
Source Files
Modules
Procedures
Derived Types
Programs
cx
Function
10 statements
Source File
basic.f
basic_m
cx
Contents
None
public pure elemental function cx(x, y) result(z)
Returns the complex number z=x+iy.
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
x
Real part
real(kind=wp),
intent(in),
optional
::
y
Imaginary part
Return Value
complex(kind=wp)
Complex number
Contents
None