petsc-3.14.0 2020-09-29
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/dualspace/../../../../include/petscdt.h
Index of all DUALSPACE routines
Table of Contents for all manual pages
Index of all manual pages