Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 625 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 625 Bytes

mtx-stats

Get information about MatrixMarket files.

Informations:

  • Dimesions of the matrix

  • Number of non-zero elements

  • Average Row Length

  • Coefficient of Variation of the Row Length

Usage

mtx-stats file1.mtx ... fileN.mtx

mtx-stats uses OpenMP to parallelize file processing.

You can set the environment variable OMP_NUM_THREADS to control the number of threads to use:

OMP_NUM_THREADS=8 mtx-stats file1.mtx ... fileN.mtx

Install

With Nix:

nix shell github:GuilloteauQ/mtx-stats 

or

nix run github:GuilloteauQ/mtx-stats  -- file1.mtx ... fileN.mtx