[−][src]Function mathru::special::beta::beta
pub fn beta<'a>(x: f64, y: f64) -> f64
Beta function
B(x,y) = ∫ tx-1(1-t)y-1 dt
Fore more information: Wikipedia Beta function
Arguments
x
> 0.0y
> 0.0
Panics
Panics if the parameter conditions are not fulfilled.
Example
extern crate mathru; use mathru::special::beta; let x: f64 = 0.3_f64; let y: f64 = 0.6_f64; let beta: f64 = beta::beta(x, y);