factorial Function

private pure function factorial(n)

Compute factorial

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n

Return Value integer