pub fn solveh_banded<T: Scalar, S: Data<Elem = T>, S2: Data<Elem = T>>(
ab: &ArrayBase<S, Ix2>,
b: &ArrayBase<S2, Ix1>,
lower: bool,
) -> Result<Array1<T>>Expand description
Solves A x = b for a Hermitian positive definite banded A (SciPy’s solveh_banded, LAPACK’s
pbsv) by the band Cholesky factorisation A = L Lᴴ, which keeps the bandwidth w:
O(n w²) operations. ab has w + 1 rows; with lower = false (SciPy’s default) it holds the
upper triangle, ab[w + i − j, j] = A[i, j] for i ≤ j, and with lower = true the lower one,
ab[i − j, j] = A[i, j] for i ≥ j.