eig#
- static vectorious.eig(x)#
Gets eigenvalues and eigenvectors of x using the Jacobi method. Accelerated with LAPACK ?geev.
- Arguments:
x (NDArray)
- Returns:
Array.<NDArray> –
Examples:
import { eig } from 'vectorious/core/eig'; eig([[1, 0, 0], [0, 2, 0], [0, 0, 3]]); // => [array([1, 2, 3]), array([[1, 0, 0], [0, 1, 0], [0, 0, 1]])]