Trait special_fun::FloatSpecial [] [src]

pub trait FloatSpecial: Float {
    fn beta(self, b: Self) -> Self;
    fn betainc(self, a: Self, b: Self) -> Self;
    fn betainc_inv(self, a: Self, b: Self) -> Self;
    fn factorial(self) -> Self;
    fn gamma(self) -> Self;
    fn rgamma(self) -> Self;
    fn loggamma(self) -> Self;
    fn gammainc(self, a: Self) -> Self;
    fn gammac(self, a: Self) -> Self;
    fn gammac_inv(self, a: Self) -> Self;
    fn digamma(self) -> Self;
    fn erf(self) -> Self;
    fn erfc(self) -> Self;
    fn hyp1f1(self, a: Self, b: Self) -> Self;
    fn hyp1f2(self, a: Self, b: Self, c: Self) -> Self;
    fn hyp2f1(self, a: Self, b: Self, c: Self) -> Self;
    fn hyp3f0(self, a: Self, b: Self, c: Self) -> Self;
    fn norm(self) -> Self;
    fn norm_inv(self) -> Self;
    fn besselj(self, v: Self) -> Self;
    fn bessely(self, v: Self) -> Self;
    fn besseli(self, v: Self) -> Self;
    fn besselk(self, v: i32) -> Self;
    fn riemann_zeta(self) -> Self;
    fn hurwitz_zeta(self, q: Self) -> Self;

    fn logbeta(self, b: Self) -> Self { ... }
}

Special functions on primitive floating point numbers.

Required Methods

fn beta(self, b: Self) -> Self

Beta function.

fn betainc(self, a: Self, b: Self) -> Self

Regularized incomplete beta function.

fn betainc_inv(self, a: Self, b: Self) -> Self

Inverse of incomplete beta integral.

fn factorial(self) -> Self

Factorial.

fn gamma(self) -> Self

Gamma function.

fn rgamma(self) -> Self

Reciprocal gamma function.

fn loggamma(self) -> Self

Logarithm of gamma function.

fn gammainc(self, a: Self) -> Self

Regularized incomplete gamma integral.

fn gammac(self, a: Self) -> Self

Complemented incomplete gamma integral.

fn gammac_inv(self, a: Self) -> Self

Inverse of complemented incomplete gamma integral.

fn digamma(self) -> Self

Digamma function.

fn erf(self) -> Self

Error function.

fn erfc(self) -> Self

Complementary error function.

fn hyp1f1(self, a: Self, b: Self) -> Self

Confluent hypergeometric function 1F1.

fn hyp1f2(self, a: Self, b: Self, c: Self) -> Self

Hypergeometric function 1F2.

fn hyp2f1(self, a: Self, b: Self, c: Self) -> Self

Gauss hypergeometric function 2F1.

fn hyp3f0(self, a: Self, b: Self, c: Self) -> Self

Hypergeometric function 3F0.

fn norm(self) -> Self

Normal distribution function.

fn norm_inv(self) -> Self

Inverse of Normal distribution function.

fn besselj(self, v: Self) -> Self

Bessel function of real order of the first kind.

fn bessely(self, v: Self) -> Self

Bessel function of real order of the second kind.

fn besseli(self, v: Self) -> Self

Modified bessel function of real order of the first kind.

fn besselk(self, v: i32) -> Self

Modified bessel function of integer order of the second kind.

fn riemann_zeta(self) -> Self

Riemann zeta function.

fn hurwitz_zeta(self, q: Self) -> Self

Hurwitz zeta function.

Provided Methods

fn logbeta(self, b: Self) -> Self

Logarithm of beta function.

Implementors