pub(crate) fn expand_arnoldi<T: Real>(
basis: &[T],
rows: usize,
ncols: usize,
w: &mut [T],
h: &mut [T],
eta: T,
floor: T,
rng: &mut Rng,
reorth: &mut usize,
) -> TExpand description
Algorithm E with the Gram–Schmidt coefficients of step E1 accumulated
into h (length ≥ ncols, added to): the Arnoldi step of Chapter 12.6.
On breakdown the coefficients of the replacement vector are not
recorded (it is not A v_j). Otherwise as expand.