foreign {slam} | R Documentation |
Read and write CLUTO sparse matrix format files.
read_stm_CLUTO(file) write_stm_CLUTO(x, file)
file |
a character string with the name of the file to read or write. |
x |
a matrix object. |
Documentation for CLUTO including its sparse matrix format is available from http://www-users.cs.umn.edu/~karypis/cluto/.
read_stm_CLUTO
reads CLUTO sparse matrices, returning a
simple triplet matrix.
write_stm_CLUTO
writes CLUTO sparse matrices.
Argument x
must be coercible to a simple triplet matrix via
as.simple_triplet_matrix
.