This matches the syntax and semantics of subset for matrices.
# S3 method for InfinitySparseMatrix
subset(x, subset, select, ...)# S4 method for InfinitySparseMatrix
[(x, i, j = NULL, ..., drop = TRUE)
# S4 method for InfinitySparseMatrix
[(x, i, j) <- value
An InfinitySparseMatrix with only the selected elements.
InfinitySparseMatrix to be subset or bound.
Logical expression indicating rows to keep.
Logical expression indicating columns to keep.
Other arguments are ignored.
Row indices.
Col indices.
Ignored.
replacement values
Mark Fredrickson