nint Interface

public interface nint

nint

Overloads the Fortran nint intrinsic; returns the conversion of the primal value f0 and discards derivative information.

Description

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

Examples

y = nint(x)

Calls

interface~~nint~~CallsGraph interface~nint nint proc~ninthyperdual nintHyperDual interface~nint->proc~ninthyperdual

Module Procedures

public elemental function nintHyperDual(v1) result(v2)

Round a hyperdual value to the nearest integer.

Read more…

Arguments

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

First input operand.

Return Value integer