pub(crate) fn orthogonalize_against<T: Real>(
data: &[T],
rows: usize,
ncols: usize,
x: &mut [T],
eta: T,
) -> (T, u8)Expand description
Algorithm D on the first ncols columns of the column-major array
data (rows rows each) — the growing Krylov bases of Chapter 12.5
live in preallocated blocks. The coefficients are discarded. Returns
(‖x‖, passes).