write_triplets: Write out a Sparse Matrix in Triplet Form

Description Usage Arguments Value

Description

Writes out a file (using write.table) containing columns row col value i j M[i,j] for every nonzero entry of M.

Usage

1

Arguments

M

The matrix.

file

The file name to write out to.

row.names

Whether to write out row indices.

...

Additional parameters to be passed to write.table.

Value

The result of write.table.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.