Learn R Programming

⚠️There's a newer version (2.11-1) of this package.Take me there.

spam (version 0.15-2)

SPArse Matrix

Description

Set of function for sparse matrix algebra. Differences with SparseM/Matrix are: (1) we only support (essentially) one sparse matrix format, (2) based on transparent and simple structure(s), (3) tailored for MCMC calculations within GMRF. (4) S3 and S4 like-"compatible" ... and it is fast.

Copy Link

Version

Install

install.packages('spam')

Monthly Downloads

103,846

Version

0.15-2

License

GPL | file LICENSE

Maintainer

Reinhard Furrer

Last Published

July 3rd, 2017

Functions in spam (0.15-2)

spam operations

Basic Linear Algebra for Sparse Matrices
dim

Dimensions of an Object
kronecker

Kronecker products on sparse matrices
image

Display a spam Object as Color Image
UScounties

Adjacency structure of the counties in the contiguous United States
chol

Cholesky Factorization for Sparse Matrices
isSymmetric

Test if a spam matrix is Symmetric
display

Graphially represent the nonzero entries
spam solve

Linear Equation Solving for Sparse Matrices
options

Options Settings
det

Calculate the determinant of a positive definite Sparse Matrix
spam-class

Class "spam"
history

Brief overview of the history
spam internal

Spam internal and auxiliary functions
print

Printing and summarizing sparse matrices
import

Read external matrix formats
Math

Mathematical functions
USprecip

Monthly total precipitation (mm) for April 1948 in the contiguous United States
ordering

Extract the permutation
spam

Sparse Matrix Class
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
allequal

Test if Two 'spam' Objects are (Nearly) Equal
nearestdist

Distance Matrix Computation
todo

Small "ToDo" list
diag

Sparse Matrix diagonals
triplet

Transform a spam format to triplets
Math2

Rounding of Numbers
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
version

Spam Version Information
foreign

Transformation to other sparse formats
cbind

Combine spam Matrices by Rows or Columns