Printing (non-zero elements) of sparse matrices
and summarizing the sparseness structure thereof.
Usage
print(x, ...)
summary(object, ...)
Arguments
x
matrix of class spam or spam.chol.method.
object
matrix of class spam or spam.chol.method.
...
any other arguments passed
to print.default.
Value
NULL, because the information is printed with cat there
is no real need to pass any object back. We also do not see the need
of defining a summary.spam class with a proper print
method.
Details
.Spam$printsize determines if the sparse matrix is
coerced into a matrix and the printed as an array or if
only the non-zero elements of the matrix are given.