简体   繁体   中英

read matrix from mtx file and store in C array

I have an mtx file. A.mtx and I need to store the matrix values in a single dimension C array and also the rows and columns. can someone help please?

I wonder if this NIST page has info that you are seeking. There are descriptions of the formats and also some links to I/O libraries in different languages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM