Jan-22-2021, 03:56 PM
(Jan-22-2021, 03:39 PM)deanhystad Wrote: Are you familiar with sparse matrices? I don't know if this fits in well with what you are trying to do.
https://cmdlinetips.com/2018/03/sparse-m...ith-scipy/
Yea so my matrix in this example is a sparse matrix. But since i dont need those zeroes there i wanted describe a sparse matrix in form of a dict.
The reply of @Serafim helped me out :)