NormalTo convert from a sparse array to the dense object that it represents, you can use Normal. In[1]:=  |
Out[1]=
|
In[2]:=  |
Out[2]=
|
Of course, it is very straightforward to make a sparse array that cannot be represented on your system. For example, the following sparse matrix only has two nonzero elements, but it has 2499999998 zero elements. In[3]:=  |
Out[3]=
|
If this is converted to a dense matrix, an exception is thrown because it is not possible to represent this on typical computers. In[4]:=  |
Out[4]=
|
|