PCL
Special Functions

Functions

double pcl::IncompleteBeta (double a, double b, double x, double eps=1.0e-8) noexcept
 

Detailed Description

Function Documentation

◆ IncompleteBeta()

double pcl::IncompleteBeta ( double  a,
double  b,
double  x,
double  eps = 1.0e-8 
)
inlinenoexcept

Evaluation of the regularized incomplete beta function I_x( a, b ).

Parameters
a,bThe a and b parameters of the beta function being evaluated.
xFunction evaluation point. Must be in the range [0,1].
epsRelative accuracy of the returned function evaluation. The default value is 1.0e-8.

This implementation is adapted from original code by Lewis Van Winkle, released under zlib license:

https://codeplea.com/incomplete-beta-function-c
https://github.com/codeplea/incbeta

Copyright (c) 2016, 2017 Lewis Van Winkle

Definition at line 4540 of file Math.h.