sign_rd Function

public elemental function sign_rd(v1, v2) result(v3)

sign_rd

Apply the Fortran SIGN intrinsic to hyperdual operands.

Description

Selects the sign from primal values and propagates the selected magnitude.

Examples

y = sign(x, sign_source)

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: v1

First input operand.

type(hyperdual), intent(in) :: v2

Second input operand.

Return Value type(hyperdual)


Called by

proc~~sign_rd~~CalledByGraph proc~sign_rd sign_rd interface~sign sign interface~sign->proc~sign_rd

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: ssign