cx Function

public pure elemental function cx(x, y) result(z)

Returns the complex number z=x+iy.

Arguments

Type IntentOptional AttributesName
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