package
Version:
v0.0.0-...-ca9dcc0
Opens a new window with list of versions in this module.
Published: Feb 18, 2018
License: BSD-3-Clause, BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mathx implements special functions not provided by the
standard math package.
Beta returns the value of the complete beta function B(a, b).
BetaInc returns the value of the regularized incomplete beta
function Iₓ(a, b).
This is not to be confused with the "incomplete beta function",
which can be computed as BetaInc(x, a, b)*Beta(a, b).
If x < 0 or x > 1, returns NaN.
Choose returns the binomial coefficient of n and k.
Lchoose returns math.Log(Choose(n, k)).
Sign returns the sign of x: -1 if x < 0, 0 if x == 0, 1 if x > 0.
If x is NaN, it returns NaN.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.