1.0.0 • Published 6 years ago

matrix-eig v1.0.0

Weekly downloads
3
License
ISC
Repository
-
Last release
6 years ago

Eigenvalue

Notice that the left and right eigenvectors are normalize meaning that the largest components are made real. This is done using the Lapack dgeev method.

To use the package:

var matrixEig = require('matrix-eig');

var matrix = [0, 1] var result = matrixEig.eig(matrix); console.log(result.eigenvalues.real);

console.log(result.eigenvalues.imaginary);

console.log(result.eigenvectors.left);

console.log(result.eigenvectors.right);