Recent content by wima
-
W
Mathematica Mathematica SparseArray Access Non-Default Values
Thank you for your replies! All of the suggested methods work. I am currently about to figure out, which of them are most efficient.- wima
- Post #7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
W
Mathematica Mathematica SparseArray Access Non-Default Values
@DaleSpam: The problem is, that my matrices are too large to convert them into normal arrays. However, about only 1% of the matrix entries have non-zero values. For my computations, I need to construct a vector that stores the number of non-zero values that are in each row of the matrix. For the...- wima
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
W
Mathematica Mathematica SparseArray Access Non-Default Values
Hi, I am currently dealing with really huge (~ 80,000 x 80,000) sparse matrices. I this context I need to read the number of non-default values in each row. When Accessing the i-th row of a SparseArray, this information is given. E.g. test = SparseArray[{{1, 1} -> 3, {1, 5} -> 2, {5, 3} ->...- wima
- Thread
- Mathematica
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX