pub fn solve_toeplitz<T: Scalar>(
c: &[T],
r: Option<&[T]>,
b: &[T],
) -> Result<Array1<T>>Expand description
Solves T x = b for the Toeplitz matrix T with first column c and first row r (default
conj(c)) by Levinson recursion in O(n²) operations (SciPy’s solve_toeplitz, after the
classic toeplz). The recursion builds the solutions for the leading m × m sections one size at
a time, together with those of two auxiliary systems for the reversed sections; it needs every
leading principal minor to be non-singular, and is not stable for indefinite or badly
conditioned T (then use solve).