Easy way to store the upper diagonal (including the diagonal) of a SciPy sparse matrix in a local file, load the file into shared memory (shm), and reconstruct the sparse matrix from the shm?
ChatGPT 4o gave me a fairly complicated solution, with three parts: data
, indices
, and indptr
; is that necessary? Cf. this.