MatrixMarket (.mtx) File Format
MatrixMarket file format
Description
Examples
MatrixMarket is a format for the storage of dense or sparse numeric matrix data.
This open format was created and is used by the National Institute of Standards and Technology (NIST).
The commands Import, Export, ImportMatrix, and ExportMatrix can read and write to the MatrixMarket format.
Import a 100x100 Hilbert matrix in Matrix Market format.
H≔Import⁡example/hilbert100.mtx,base=datadir
Export a random 100x100 matrix to the home directory of the current user
M≔LinearAlgebra:-RandomMatrix⁡100,datatype=float8:
Export⁡example.mtx,M,base=homedir
234927
See Also
ExportMatrix
Formats
ImportMatrix
Download Help Document