- Matrix Data Converter.
- Expand matrix for multi-thread, multi-process
- Divid matrix for multi-thread, multi-process
Support: .mtx, .npy, .npz
- scipy
- numpy
- .npy -> .npz
python3 npy2npz.py example/matrix.npy bsr|csr|coo|dia|dok|lil
- .npz -> .mtx
python3 npz2mtx.py example/matrix.npz
- .mtx -> .npz
python3 mtx2npz.py example/matrix.mtx bsr|csr|coo|dia|dok|lil
- .npz -> .npy
python3 npz2npy.py example/matrix.npz
- .npy: (56, 56) -> (64, 64))
python3 expandnpy.py example/matrix.npy 16
- .npz: (56, 56) -> (64, 64))
python3 expandnpz.py example/matrix.npz bsr|csr|coo|dia|dok|lil 16
- .npy: (56, 56) -> 4*(16, 64))
python3 divnpy2n.py example/matrix.16.npy 4
- .npz: (56, 56) -> 4*(16, 64))
python3 divnpz2n.py example/matrix.16.npz 4