sign_dr Function

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

sign_dr

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
type(hyperdual), intent(in) :: v1

First input operand.

real(kind=pr), intent(in) :: v2

Second input operand.

Return Value type(hyperdual)


Called by

proc~~sign_dr~~CalledByGraph proc~sign_dr sign_dr interface~sign sign interface~sign->proc~sign_dr

Variables

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