petsc3.14.6 20210330
PetscDTFactorialInt
Compute n! as an integer
Input Arguments
 n   a nonnegative integer

Output Arguments
Note: this is limited to n such that n! can be represented by PetscInt, which is 12 if PetscInt is a signed 32bit integer and 20 if PetscInt is a signed 64bit integer.
Level
beginner
Location
src/dm/dt/space/../../../../include/petscdt.h
Index of all SPACE routines
Table of Contents for all manual pages
Index of all manual pages