max_dr Function

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

max_dr

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.

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

Second input operand.

Return Value type(hyperdual)


Called by

proc~~max_dr~~CalledByGraph proc~max_dr max_dr interface~max max interface~max->proc~max_dr