sign_dd Function

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

sign_dd

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.

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

Second input operand.

Return Value type(hyperdual)


Called by

proc~~sign_dd~~CalledByGraph proc~sign_dd sign_dd interface~sign sign interface~sign->proc~sign_dd

Variables

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