Trait special_fun::FloatSpecial
source · pub trait FloatSpecial: Copy + Add<Output = Self> + Sub<Output = Self> {
Show 26 methods
// Required methods
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;
// Provided method
fn logbeta(self, b: Self) -> Self { ... }
}
Expand description
Special functions on primitive floating point numbers.
This provides safe access to a subset of the Cephes functions implemented for double and single precision.
Required Methods§
sourcefn betainc_inv(self, a: Self, b: Self) -> Self
fn betainc_inv(self, a: Self, b: Self) -> Self
Inverse of incomplete beta integral.
sourcefn gammac_inv(self, a: Self) -> Self
fn gammac_inv(self, a: Self) -> Self
Inverse of complemented incomplete gamma integral.
sourcefn riemann_zeta(self) -> Self
fn riemann_zeta(self) -> Self
Riemann zeta function.
sourcefn hurwitz_zeta(self, q: Self) -> Self
fn hurwitz_zeta(self, q: Self) -> Self
Hurwitz zeta function.
Provided Methods§
Object Safety§
This trait is not object safe.