max_ddd Function

public elemental function max_ddd(v1, v2, v3) result(v4)

max_ddd

Select the maximum hyperdual operand.

Description

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

Examples

w = max(x, y, z)

Arguments

Type IntentOptional Attributes Name
type(hyperdual), intent(in) :: v1

First input operand.

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

Second input operand.

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

Result of the operation.

Return Value type(hyperdual)


Called by

proc~~max_ddd~~CalledByGraph proc~max_ddd max_ddd interface~max max interface~max->proc~max_ddd