fawkes::BinomialCoefficient Class Reference

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

#include <utils/math/binomial_coefficient.h>

List of all members.

Static Public Member Functions

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


Detailed Description

Contains method to compute the binomial coefficient.

Author:
Martin Liebenberg

Definition at line 36 of file binomial_coefficient.h.


Member Function Documentation

static unsigned int fawkes::BinomialCoefficient::binoc ( unsigned int  n,
unsigned int  k 
) [inline, static]

Calculates the binomial coefficient.

Parameters:
n upper value
k lower 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:
Generated on Tue Feb 22 13:32:54 2011 for Fawkes API by  doxygen 1.4.7