Skip to main content

levinson_durbin

Function levinson_durbin 

Source
pub fn levinson_durbin(r: &[f64], order: usize) -> Result<LpcResult, ErrorsJSL>
Expand description

Solves the Toeplitz normal equations for an autocorrelation sequence r[0..=order] with the Levinson-Durbin recursion.

Fails if r[0] is not positive or the sequence is not positive-definite to the requested order.