5 Special Functions

5.1 Overview

The special functions portion of Commons-Math contains several useful functions not provided by java.lang.Math. These functions mostly serve as building blocks for other portions of Commons-Math but, as others may find them useful as stand-alone methods, these special functions were included as part of the Commons-Math public API.

5.2 Erf functions

org.apache.commons.math.special.Erf contains several useful functions involving the Error Function, Erf.

Function Method Reference
Error Function erf See Erf from MathWorld

5.3 Gamma functions

org.apache.commons.math.special.Gamma contains several useful functions involving the Gamma Function.

Function Method Reference
Log Gamma logGamma See Gamma Function from MathWorld
Regularized Gamma regularizedGammaP See Regularized Gamma Function from MathWorld

5.4 Beta funtions

org.apache.commons.math.special.Beta contains several useful functions involving the Beta Function.

Function Method Reference
Log Beta logBeta See Beta Function from MathWorld
Regularized Beta regularizedBeta See Regularized Beta Function from MathWorld