InfinitySparseMatrix (Blocked or non) comprises of
vectors of values, row positions, and column positions. The ordering of
these vectors is not enforced. This function sorts the internal structure,
leaving the external structure unchanged (e.g.
as.matrix(sort(ism)) will look identical despite sorting.)
## S3 method for class 'InfinitySparseMatrix' sort(x, decreasing = FALSE, ..., byCol = FALSE) ## S3 method for class 'BlockedInfinitySparseMatrix' sort(x, decreasing = FALSE, ..., byCol = FALSE)
Logical. Should the sort be increasing or decreasing?
Additional arguments ignored.
Logical. Defaults to
By default, the
InfinitySparseMatrix is row-dominant, meaning the row
positions are sorted first, then column positions are sorted within each
row. Use argument
byCol to change this.
An object of the same class as
x which is sorted according to
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.