petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscDTBinomial

Approximate the binomial coefficient "n choose k"

Input Arguments

n - a non-negative integer
k - an integer between 0 and n, inclusive

Output Arguments

binomial - approximation of the binomial coefficient n choose k

Level

beginner

Location

src/dm/dt/fe/../../../../include/petscdt.h
Index of all FE routines
Table of Contents for all manual pages
Index of all manual pages