Static Public Member Functions | Protected Member Functions

zeus::TBinomial Class Reference

#include <Binomial.h>

List of all members.

Static Public Member Functions

static Int64 getBinomial (Float fN, Float fK)
static Float getBinomialF (Float fN, Float fK)

Protected Member Functions

 TBinomial ()
virtual ~TBinomial ()

Detailed Description

This class implements the binomial calculations


Constructor & Destructor Documentation

zeus::TBinomial::TBinomial (  ) [inline, protected]
virtual zeus::TBinomial::~TBinomial (  ) [inline, protected, virtual]

Member Function Documentation

Int64 TBinomial::getBinomial ( Float  fN,
Float  fK 
) [static]

Returns the binomial value of two coefficients

Parameters:
fN: Coefficient N of the formula
fK: Coefficient K of the formula
Returns:
(n!)/(k!(n-k)!)
Float TBinomial::getBinomialF ( Float  fN,
Float  fK 
) [static]

Returns the binomial value of two coefficients

Parameters:
fN: Coefficient N of the formula
fK: Coefficient K of the formula
Returns:
(n!)/(k!(n-k)!)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:32:27