Skip to main content

pbvv

Function pbvv 

Source
pub fn pbvv(v: f64, x: f64) -> Result<(f64, f64), SpecialError>
Expand description

Parabolic cylinder function V_v(x) and its derivative.

The parabolic cylinder function V_v(x) is another solution to the differential equation: d²y/dx² + (v + 1/2 - x²/4)y = 0

§Arguments

  • v - Order parameter
  • x - Real argument

§Returns

  • A tuple containing (V_v(x), V_v’(x))

§Examples

use scirs2_special::pbvv;

let (v, vp) = pbvv(1.0, 0.5).unwrap();
println!("V_1(0.5) = {}, V_1'(0.5) = {}", v, vp);