max_dd Function

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

max_dd

Select the maximum hyperdual operand.

Description

Selects the branch using primal values and returns the selected hyperdual operand.

Examples

z = max(x, y)

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~~max_dd~~CalledByGraph proc~max_dd max_dd interface~max max interface~max->proc~max_dd