spam-class {spam}R Documentation

Class "spam"

Description

The spam class is a representation of sparse matrices.

Objects from the Class

Objects can be created by calls of the form new("spam", entries, colindices, rowpointes, dimension). The standard "old Yale sparse format" is used to store sparse matrices.
The matrix x is stored in row form. The first element of row i is x@rowpointers[i]. The length of row i is determined by x@rowpointers[i+1]-x@rowpointers[i]. The column indices of x are stored in the x@colindices vector. The column index for element x@entries[k] is x@colindices[k].

Slots

entries:
Object of class "numeric" contains the nonzero values
colindices:
Object of class "integer" ordered indices of the nonzero values
rowpointers:
Object of class "integer" pointer to the beginning of each row in the arrays entries and colindices
dimension:
Object of class "integer" ~~

Methods

as.matrix
signature(x = "spam"): ...
as.spam
signature(x = "spam"): ...
[<-
signature(x = "spam", i = "missing", j = "missing", value = "numeric"): ...
[<-
signature(x = "spam", i = "missing", j = "vector", value = "numeric"): ...
[<-
signature(x = "spam", i = "vector", j = "missing", value = "numeric"): ...
[<-
signature(x = "spam", i = "vector", j = "vector", value = "numeric"): ...
[<-
signature(x = "spam", i = "matrix", j = "missing", value = "numeric"): ...
[<-
signature(x = "spam", i = "matrix", j = "matrix", value = "numeric"): ...
[<-
signature(x = "spam", i = "spam", j = "missing", value = "numeric"): ...
[
signature(x = "spam", i = "missing", j = "missing"): ...
[
signature(x = "spam", i = "missing", j = "vector"): ...
[
signature(x = "spam", i = "vector", j = "missing"): ...
[
signature(x = "spam", i = "vector", j = "vector"): ...
[
signature(x = "spam", i = "matrix", j = "missing"): ...
[
signature(x = "spam", i = "matrix", j = "matrix"): ...
[
signature(x = "spam", i = "spam", j = "missing"): ...
[
signature(x = "spam", i = "ANY"): ...
%*%
signature(x = "spam", y = "spam"): ...
%*%
signature(x = "spam", y = "matrix"): ...
%*%
signature(x = "spam", y = "numeric"): ...
%*%
signature(x = "matrix", y = "spam"): ...
%*%
signature(x = "numeric", y = "spam"): ...
c
signature(x = "spam"): ...
cbind
signature(deparse.level = "spam"): ...
chol
signature(x = "spam"): ...
diag
signature(x = "spam"): ...
dim<-
signature(x = "spam"): ...
dim
signature(x = "spam"): ...
image
signature(x = "spam"): ...
initialize
signature(.Object = "spam"): ...
length<-
signature(x = "spam"): ...
length
signature(x = "spam"): ...
lower.tri
signature(x = "spam"): ...
Math
signature(x = "spam"): ...
norm
signature(x = "spam"): ...
plot
signature(x = "spam", y = "missing"): ...
plot
signature(x = "spam", y = "spam"): ...
print
signature(x = "spam"): ...
rbind
signature(deparse.level = "spam"): ...
show
signature(object = "spam"): ...
solve
signature(a = "spam"): ...
summary
signature(object = "spam"): ...
t
signature(x = "spam"): ...
upper.tri
signature(x = "spam"): ...

Author(s)

Reinhard Furrer


[Package spam version 0.12 Index]