Fawkes API  Fawkes Development Version
fawkes::BinomialCoefficient Class Reference

Contains method to compute the binomial coefficient. More...

#include <>>

Static Public Member Functions

static unsigned int binoc (unsigned int n, unsigned int k)
 Calculates the binomial coefficient. More...
 

Detailed Description

Contains method to compute the binomial coefficient.

Author
Martin Liebenberg

Definition at line 36 of file binomial_coefficient.h.

Member Function Documentation

◆ binoc()

static unsigned int fawkes::BinomialCoefficient::binoc ( unsigned int  n,
unsigned int  k 
)
inlinestatic

Calculates the binomial coefficient.

Parameters
nupper value
klower value
Returns
the binomial coefficient of n and k

Definition at line 44 of file binomial_coefficient.h.


The documentation for this class was generated from the following file: