atan2HyperDual Function

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

atan2HyperDual

Evaluate atan2(v1, v2) for hyperdual arguments.

Description

Only the primal value and the coefficient f1 are propagated; f2 and f12 of the result are left at zero, so this function must not be used where second derivatives are needed.

Examples

z = atan2(y, x)

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)


Called by

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

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: a
real(kind=pr), public :: b
real(kind=pr), public :: c
real(kind=pr), public :: d