max_rd Function

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

max_rd

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
real(kind=pr), intent(in) :: v1

First input operand.

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

Second input operand.

Return Value type(hyperdual)


Called by

proc~~max_rd~~CalledByGraph proc~max_rd max_rd interface~max max interface~max->proc~max_rd