Commons Math User Guide

##### User Guide

- Contents
- Overview
- Statistics
- Data Generation
- Linear Algebra
- Numerical Analysis
- Special Functions
- Utilities
- Complex Numbers
- Distributions
- Fractions
- Transform Methods
- 3D Geometry
- Optimization
- Ordinary Differential Equations
- Genetic Algorithms

## 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

Erf contains several useful functions involving the Error Function, Erf.

Function | Method | Reference
--- | --- | ---
Error Function | erf | See Erf from MathWorld

### 5.3 Gamma functions

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

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