scipy.linalg.circulant provides a nice way of turning a (1-D) numpy array x into a circulant matrix C. Is there any stock way of doing so that preserves sparse representation if x is a scipy.sparse.csr_matrix matrix?
Asked
Active
Viewed 133 times
2
jjjjjj
- 1,152
- 1
- 14
- 30
-
Possible duplicate of [Create sparse circulant matrix in python](https://stackoverflow.com/questions/39597649/create-sparse-circulant-matrix-in-python) – P-Gn Feb 27 '18 at 12:20