CMR
1.3.0
|
This tool is useful for basic matrix operations:
The command
cmr-matrix IN-MAT OUT-MAT [OPTION]...
copies the matrix from file IN-MAT
to file OUT-MAT
, potentially applying certain operations.
Options:
-i FORMAT
Format of file IN-MAT
, among dense
for dense-matrix and sparse
for sparse-matrix; default: dense.-o FORMAT
Format of file OUT-MAT
, among dense
for dense-matrix and sparse
for sparse-matrix; default: same as format of IN-MAT
.-S IN-SUB
Consider the submatrix of IN-MAT
specified in file IN-SUB
instead of IN-MAT
itself; can be combined with other operations.-t
Transpose the matrix; can be combined with other operations.-c
Compute the support matrix instead of copying.-C
Compute the signed support matrix instead of copying.-d
Use double arithmetic instead of integers.If IN-MAT
or IN-SUB
is -
then the input matrix (resp. submatrix) is read from stdin. If OUT-MAT
is -
then the output matrix is written to stdout.