min Interface

public interface min

min

Overloads the Fortran min intrinsic for hyperdual arguments, propagating supported derivative coefficients.

Description

The generic interface selects a type-specific implementation based on the argument types.

Examples

z = min(x, y)

Calls

interface~~min~~CallsGraph interface~min min proc~min_dd min_dd interface~min->proc~min_dd proc~min_dr min_dr interface~min->proc~min_dr proc~min_rd min_rd interface~min->proc~min_rd

Module Procedures

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

Select the minimum hyperdual operand.

Read more…

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)

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

Select the minimum hyperdual operand.

Read more…

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)

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

Select the minimum hyperdual operand.

Read more…

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)