:orphan: # 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`. Use `PetscDTBinomial()` for real number approximations of larger values ## See Also `PetscDTFactorial()`, `PetscDTFactorialInt()`, `PetscDTBinomial()`, `PetscDTEnumPerm()` ## Level beginner ## Location include/petscdt.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdt.h) [Index of all DT routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)