src/main/cpp/numerics4cpp/special/beta.h File Reference

#include "../numerics.h"

Go to the source code of this file.

Functions

double log_beta (double a, double b)
double regularized_beta (double x, double a, double b)


Detailed Description

Implementations for several functions related to the Beta function.

Function Documentation

double log_beta ( double  a,
double  b 
)

Returns the natural logarithm of the beta function B(a, b) (1).

References:

  1. Eric W. Weisstein. "Beta Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/BetaFunction.html

Parameters:
a the a parameter.
b the b parameter.
Returns:
log(B(a, b))

double regularized_beta ( double  x,
double  a,
double  b 
)

Returns the regularized beta function Ix(a, b) (1).

References:

  1. Eric W. Weisstein. "Regularized Beta Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RegularizedBetaFunction.html

Parameters:
x the evaluation point.
a the a parameter.
b the b parameter.
Returns:
Ix(a, b)


Generated on Wed Nov 21 22:22:15 2007 for numerics4c++ by  doxygen 1.5.3