Using the C Math Library    

Specialized Math Functions

Specialized Math Functions 
Function
Purpose
mlfBeta
Beta function.
mlfBetainc
Incomplete beta function.
mlfBetaln
Logarithm of beta function.
mlfCross
Vector cross product.
mlfEllipj
Jacobi elliptic functions.
mlfEllipke
Complete elliptic integral.
mlfErf
Error function.
mlfErfc
Complementary error function.
mlfErfcx
Scaled complementary error function.
mlfErfinv
Inverse error function.
mlfExpint
Exponential integral function.
mlfGamma
Gamma function.
mlfGammainc
Incomplete gamma function.
mlfGammaln
Logarithm of gamma function.
mlfLegendre
Legendre functions.

Number Theoretic Functions 
Function
Purpose
mlfFactor
Prime factors.
mlfGcd
Greatest common divisor.
mlfIsprime
True for prime numbers.
mlfLcm
Least common multiple.
mlfNchoosek
All combinations of n elements taken k at a time.
mlfPerms
All possible permutations.
mlfPrimes
Generate list of prime numbers.
mlfRat
Rational approximation.
mlfRats
Rational output.

Coordinate System Transforms 
Function
Purpose
mlfCart2pol
Transform Cartesian coordinates to polar.
mlfCart2sph
Transform Cartesian coordinates to spherical.
mlfPol2cart
Transform polar coordinates to Cartesian.
mlfSph2cart
Transform spherical coordinates to Cartesian.


 Elementary Math Functions Numerical Linear Algebra