Honeycomb  0.1
Component-Model Framework
Static Public Member Functions | List of all members
honey::BetaInc< Real > Class Template Reference

Evaluate the incomplete beta function. More...

#include <Beta.h>

Static Public Member Functions

static Real calc (Real x, Real a, Real b)
 
static Real calcInv (Real y0, Real a, Real b)
 Inverse of imcomplete beta integral. More...
 

Detailed Description

template<class Real>
class honey::BetaInc< Real >

Evaluate the incomplete beta function.

Member Function Documentation

template<class Real >
Real honey::BetaInc< Real >::calc ( Real  x,
Real  a,
Real  b 
)
static
template<class Real >
Real honey::BetaInc< Real >::calcInv ( Real  yy0,
Real  aa,
Real  bb 
)
static

Inverse of imcomplete beta integral.

Given y, the function finds x such that incbet( a, b, x ) = y

The routine performs interval halving or Newton iterations to find the root of incbet(a,b,x) - y = 0


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