Dear folks,
This is my first post, so feel free to relocate me to an appropriate tag/ group/ domain, etc. etc.
So I have the following questions: 1) How can I estimate the amount of memory needed for the multiplication of two sparse matrices, given their sparsity and size 2) how can I do that more memory-efficient for the calculation of a projector? Have a look at the following code:
using LinearAlgebra
using SparseArrays
N = 200000
d = 1e-4
A = sprand(N,N,d)
@time P = A*A'
This works out, but it takes much more memory than I anticipated.
Thanks in advance!