PETSc version 3.17.4
Fix/Edit manual page
PetscDTBinomialInt
Compute the binomial coefficient "n choose k"
Input Parameters
n
- a non-negative integer
k
- an integer between 0 and n, inclusive
Output Parameter
binomial
- the binomial coefficient n choose k
Note: this is limited by integers that can be represented by
PetscInt
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