You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In _remove_redundancy_sparse, spsolve is repeatedly called within a loop. pi = scipy.sparse.linalg.spsolve(B.transpose(), e).reshape(-1, 1)
Since B does not change, it would be a lot faster to have an LU factorization outside of the loop