pub fn interpolate(q: &[[f64; 2]]) -> (Vec<[f64; 2]>, Vec<f64>)
点列を通る 3 次の B スプライン(等間隔のパラメータ、平均の節点)。制御点と節点を返す