sparse-matrix
Optimizing the weighted sum of sparse matrices
I welcome any help for the following code optimization problem: I have a collection of N sparse matrices of identical sizes ([s1 s2]) stored in a cell array A and a corresponding number of scalar wei[详细]
2023-02-13 22:38 分类:问答Matlab get rid of loops
I\'m a newbie in Matlab and trying get rid of Java/C++ customs. The question is \"how I can get rid of these for loops.\"[详细]
2023-02-13 15:31 分类:问答Sparse Matrix/ Inner Matrix Dimension
Well, Trying to do something with search engines. I have generated a matrix (term-document) from a collection of 5 documents. The output is:[详细]
2023-02-12 21:30 分类:问答How to turn a list of lists to a sparse matrix in R without using lapply?
I have a lis开发者_StackOverflow中文版t of lists resulting from a bigsplit() operation (from package biganalytics, part of the bigmemory packages).[详细]
2023-02-09 23:25 分类:问答SVD for sparse matrix in R
I\'ve got a sparse Matrix in R that\'s apparently too big for me to run as.开发者_JS百科matrix() on (though it\'s not super-huge either).The as.matrix() call in question is inside the svd() function,[详细]
2023-02-09 08:27 分类:问答Python - efficient representation of pixels and associated values
I\'m using python to work with large-ish (approx 2000 x 2000) matrices, where each I, J point in the matrix represents a single pixel.[详细]
2023-02-09 06:30 分类:问答expanding (adding a row or column) a scipy.sparse matrix
Suppose I have a NxN matrix M (lil_matrix or csr_matrix) 开发者_StackOverflow社区from scipy.sparse, and I want to make it (N+1)xN where M_modified[i,j] = M[i,j] for 0 <= i < N (and all j) and M[[详细]
2023-02-04 23:45 分类:问答How to efficiently add sparse matrices in Python
I want to know how to efficiently add sparse matrices in Python. I have a program that breaks a big task into subtasks and distributes them across several CPUs. Each subtask yields a result (a scipy[详细]
2023-02-01 16:16 分类:问答Sparse Matrix multiplication like (maxmin) in C++ using Octave libraries
I\'m implementing a maxmin function, it works like matrix multiplication but instead of summing products it gets max of min between two numbers pointwise. 开发者_JAVA百科An example of naive implementa[详细]
2023-01-31 21:02 分类:问答Looking for a C/C++ interface for efficient computation of huge sparse matrix in Linux
I am looking for a C/C++ interface for efficient computation of huge sparse matrix in Linux. The matrix could be of millions times millions/thousands. I have checked a few existing libraries, but it s[详细]
2023-01-30 04:53 分类:问答