Reading related questions, I found that one can initialize in julia an arbitrary array as
B = Array{Complex{Float64}}(undef, 0, 0)
I want to initialize something similar, but I want to put sparse matrices in such array. This last construction does not work in this case.
How can I build an arbitrary array that contains sparse ones?
Actually my problem is a little bit more specific. In each entry of B
I want to put a different sparse matrix. The sparse matrices are of fixed dimensions and I know beforehand how many sparse matrices I want to put into B
.