torch.linalg (original) (raw)

cholesky Computes the Cholesky decomposition of a complex Hermitian or real symmetric positive-definite matrix.
qr Computes the QR decomposition of a matrix.
lu Computes the LU decomposition with partial pivoting of a matrix.
lu_factor Computes a compact representation of the LU factorization with partial pivoting of a matrix.
eig Computes the eigenvalue decomposition of a square matrix if it exists.
eigvals Computes the eigenvalues of a square matrix.
eigh Computes the eigenvalue decomposition of a complex Hermitian or real symmetric matrix.
eigvalsh Computes the eigenvalues of a complex Hermitian or real symmetric matrix.
svd Computes the singular value decomposition (SVD) of a matrix.
svdvals Computes the singular values of a matrix.