torch_eig: Eig

torch_eigR Documentation

Eig

Description

Eig

Arguments

self

(Tensor) the square matrix of shape (n \times n) for which the eigenvalues and eigenvectors will be computed

eigenvectors

(bool) TRUE to compute both eigenvalues and eigenvectors; otherwise, only eigenvalues will be computed

eig(input, eigenvectors=False, out=NULL) -> (Tensor, Tensor)

Computes the eigenvalues and eigenvectors of a real square matrix.

Note

Since eigenvalues and eigenvectors might be complex, backward pass is supported only
for [`torch_symeig`]

torch documentation built on June 7, 2023, 6:19 p.m.