| # Utils |
|
|
| ## matutils.py |
| This module contains utility functions for matrix handling and conversion from/to matrix market coo format and scipy npz format. |
|
|
| Example usage: |
| ```Python |
| # Load the west0479.mtx file, convert it to npz format and save it to the specified directory |
| python matutils.py mm2npz /home/vmaillou/Documents/Repositories/bigbird_dataset/legacy_references/west0479/west0479.mtx /home/vmaillou/Documents/Repositories/bigbird_dataset/ legacy_references/west0479/clear |
| ``` |
|
|
| ```Python |
| # Load the west0479.npz file, convert it to Matrix Market format and save it to the specified directory |
| python matutils.py npz2mm /home/vmaillou/Documents/Repositories/bigbird_dataset/legacy_references/west0479/west0479.npz /home/vmaillou/Documents/Repositories/bigbird_dataset/legacy_references/west0479/ |
| ``` |