sparse-matrix
What is the best algorithm for solving a band-diagonal matrix?
I\'m trying t开发者_开发问答o figure out the best way to solve a pentadiagonal matrix. Is there something faster than gaussian elimination?You should do an LU or Cholesky decomposition of the matrix,[详细]
2022-12-28 18:15 分类:问答MATLAB: Convert two array to a sparse matrix
I\'m looking for an a command or trick to convert two arrays to a sparse matrix. The two arrays contain x-values and y-values, which gives a coordinate in the cartesian coordinate开发者_StackOverflow中[详细]
2022-12-28 04:11 分类:问答Adding a numpy array to a scipy.sparse.dok_matrix
I have a scipy.sparse.dok_matrix (dimensions m x n), wanting to add a flat numpy-array with length m.[详细]
2022-12-28 00:38 分类:问答Scipy sparse... arrays?
So, I\'m doing some Kmeans classification using numpy arrays that are quite sparse-- lots and lots of zeroes.I figured that I\'d use scipy\'s \'sparse\' package to reduce the storage overhead, but I\'[详细]
2022-12-24 07:29 分类:问答In R, when using named rows, can a sparse matrix column be added (concatenated) to another sparse matrix?
I have two sparse matrices, m1 and m2: > m1 <- Matrix(data=0,nrow=2, ncol=1, sparse=TRUE, dimnames=list(c(\"b\",\"d\"),NULL))[详细]
2022-12-24 01:42 分类:问答Why does the speed of this SOR solver depend on the input?
Related to my other question, I have now modified the sparse matrix solver to use the SOR (Successive Over-Relaxation) method. The code is now as follows:[详细]
2022-12-22 15:34 分类:问答How to speed up my sparse matrix solver?
I\'m writing a sparse matrix solver using the Gauss-Seidel method. By profiling, I\'ve determined that about half of my program\'s time is spent inside the solver. The performance-critical part is as[详细]
2022-12-22 13:44 分类:问答In SciPy, using ix_() with sparse matrices doesn't seem to work so what else can I use?
In Numpy, ix_() is used to grab rows and columns of a matrix, but it doesn\'t seem to work with sparse matrices. For instance, this code works because it uses a dense matrix:[详细]
2022-12-21 19:33 分类:问答Efficiently solving sparse matrices
For solving spare matrices, in general, how big does the matrix have t开发者_JAVA技巧o be (as a rule of thumb)[详细]
2022-12-21 17:13 分类:问答General sparse iterative solver libraries
What are so开发者_C百科me of the better libraries for large sparse iterative (conjugate gradient, MINRES, GMRES, etc.) linear algebra system solving?I\'ve often coded my own routines, but I\'m interes[详细]
2022-12-21 04:51 分类:问答