pub fn tridiagonal<B: Backend, T: LinalgScalar>(
x: &Array<B, T>,
lower: bool,
) -> (Array<B, T>, Array<B, T::Real>, Array<B, T::Real>, Array<B, T>)Expand description
The reduction of each Hermitian (symmetric) matrix to real tridiagonal
form by a unitary similarity, as lax.linalg.tridiagonal, reading only
the lower (or upper) triangle: (a, d, e, taus) with the diagonal d
and the off-diagonal e (real), and in that triangle of a the
tridiagonal form and the Householder reflectors (with the factors
taus) below (above) the off-diagonal; the other triangle is that of
the input. Not differentiable, as in JAX.
ยงPanics
Panics if x is not a batch of nonempty square matrices.