---
name: "csr"
section: "1rheolef"
platform: "linux"
package: "rheolef"
version: "7.2-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/csr"
---

# csr(1rheolef)

sparse matrix manipulation (rheolef-7.2)

## NAME

csr - sparse matrix manipulation (rheolef-7.2)

## SYNOPSIS

```
csr [options] file[[.mtx].gz]
```

## DESCRIPTION

Plots or manipulates a sparse matrix. Read from standard input, in the `.mtx` matrix-market format. Write to standard output in either in `matlab` or `postscript` formats.

## EXAMPLES

Enter commands as:

```
  csr -ps     matrix.mtx | gv -
  csr -matlab matrix.mtx > matrix.m
```

## OUTPUT FORMAT OPTIONS

- `-ps`

   Print in the `.ps` postscript format. This is the default.

- `-mtx`

   Print in the `.mtx` format. When the input was not sorted by increasing line and then column order, then, the output is.

- `-matlab`

   Print in the `matlab` sparse format (see e.g. [`octave`(1)](/octave/1.md)).

- `-name` *string*

   Specifies a current name for the sparse `matlab` output option. Default is `a`.

## LIMITATIONS

No render are yet used for the visualization of the sparse matrix: future developments plane to use `gnuplot`.

## IMPLEMENTATION

This documentation has been generated from file linalg/bin/csr.cc

## AUTHOR

Pierre  Saramito  \<Pierre.Saramito@imag.fr\>

## COPYRIGHT

Copyright   (C)  2000-2018  Pierre  Saramito  \<Pierre.Saramito@imag.fr\> GPLv3+: GNU GPL version 3 or later  \<http://gnu.org/licenses/gpl.html\>. This  is  free  software:  you  are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
