Usage#
matrixgen#
MatrixGen - Sparse matrix generator and resizer CLI.
matrixgen [OPTIONS] COMMAND [ARGS]...
Options
- --version#
Show the version and exit.
resize#
Resize a sparse matrix to a new size using the specified method.
matrixgen resize [OPTIONS] INPUT_FILE OUTPUT_FILE
Options
- -s, --size <size>#
Required New matrix dimension (NxN). Must be >= 1.
- -m, --method <method>#
Resizing method to use.
- Options:
bilinear | dct | dft | gaussian | graph | image | lanczos | nearest | wavelet
Arguments
- INPUT_FILE#
Required argument
- OUTPUT_FILE#
Required argument