jax.lax.linalg.tridiagonal#
- jax.lax.linalg.tridiagonal(a, *, lower=True)[source]#
Reduces a symmetric/Hermitian matrix to tridiagonal form.
Currently implemented on CPU and GPU only.
- Parameters:
- Return type:
Returns: A
(a, d, e, taus)pair. Iflower=True, the diagonal and first subdiagonal of matrix (or batch of matrices)acontain the tridiagonal representation, and elements below the first subdiagonal contain the elementary Householder reflectors, where additionallydcontains the diagonal of the matrix andecontains the first subdiagonal.Iflower=Falsethe diagonal and first superdiagonal of the matrix contains the tridiagonal representation, and elements above the first superdiagonal contain the elementary Householder reflectors, where additionallydcontains the diagonal of the matrix andecontains the first superdiagonal.tauscontains the scalar factors of the elementary Householder reflectors.