How to solve rectangular sparse matrix using Alglib, linlsqrsolvesparse?
问题 I've created a sparse matrix alglib.sparse.sparsematrix solvingInputA = new alglib.sparse.sparsematrix() ; alglib.sparse.sparsecreate(kNew.Length, nanCount,fdaNonZero,solvingInputA, default); then I put some data and tried to convert with this block of code alglib.linlsqrstate linlsqrstate; alglib.linlsqrcreate(solvingInputA.m, solvingInputA.n, out linlsqrstate); alglib.xparams _params = default; alglib.sparse.sparseconverttocrs(solvingInputA, default); then solve alglib.linlsqrsolvesparse