FAQ Database Discussion Community

Eigenvalues of sparse matrix using Eigen3

Is there a distinct and effective way of finding eigenvalues and eigenvectors of a real, symmetrical, very large, let's say 10000x10000, sparse matrix in Eigen3? There is an eigenvalue solver for dense matrices but that doesn't make use of the properties of the matrix e.g. it's symmetry. Furthermore I don't...

Gauss-Newton Solver: Improper assignment with rectangular empty matrix

I don't understand why I am getting this error message. I have implemented a Gauss-Newton solver to solve a system of linear equations. It keeps saying improper assignment with rectangular empty matrix at the line "for i=1:m" function [x, l] = GS(A, b, x0, TOL) [m n] = size(A); l...