fstats_helper_routines Module



Contents


Functions

public pure function difference(x) result(rst)

Computes the difference between elements in an array.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:) :: x

The N-element array on which to operate.

Return Value real(kind=real64), allocatable, dimension(:)

The (N-1)-element array containing the differences between adjacent elements.

public pure elemental function factorial(x) result(rst)

Computes the factorial of X.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x

The value whose factorial is to be computed.

Return Value real(kind=real64)

The result.