This repository contains the current development version of the
spatstat.sparse
package.
For the most recent official release of spatstat.sparse
,
see the CRAN page.
The spatstat.sparse
package
-
defines a class of sparse three-dimensional arrays and supports standard operations on them.
-
provides utility functions for matrix computations that are common in statistics, such as quadratic forms.
It supports
-
creation of sparse arrays from raw data (numeric, integer, logical, or complex values)
-
conversion to/from other data types
-
array indexing, extraction of entries, assignment of new values
-
arithmetic and logical operations
-
tensor operations (generalising matrix multiplication)
-
permutation of array dimensions
-
binding of several arrays into a single array
-
printing of sparse arrays.
-
linear algebra operations including calculation of quadratic forms, bilinear forms, fractional powers of a matrix.