PowerHyperDualInt Function

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

PowerHyperDualInt

Raise a hyperdual value to a power.

Description

Applies the power rule to the primal and derivative coefficients.

Examples

z = x ** 2

Arguments

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

First input operand.

integer, intent(in) :: v2

Second input operand.

Return Value type(hyperdual)


Called by

proc~~powerhyperdualint~~CalledByGraph proc~powerhyperdualint PowerHyperDualInt interface~operator (ASTERISKASTERISK) operator (**) interface~operator (ASTERISKASTERISK)->proc~powerhyperdualint

Variables

Type Visibility Attributes Name Initial
integer, public :: i

Loop/index variable.

integer, public :: vv2