Get the eigenvalues and eigenvectors of a row-based matrix. Currently based on eigenfaces, but that will hopefully change soon.
var eig = require('eig')
eig([[1,0],[0,1]]).then(function (result) {
console.log(result.eigenvalues)
console.log(result.eigenvectors)
})