atan2 Interface

public interface atan2

atan2

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

Description

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

Examples

z = atan2(y, x)

Calls

interface~~atan2~~CallsGraph interface~atan2 atan2 proc~atan2hyperdual atan2HyperDual interface~atan2->proc~atan2hyperdual

Module Procedures

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

Evaluate atan2(v1, v2) for hyperdual arguments.

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)