Math group functions to
# ceiling(x) # floor(x) # exp(x, base = exp(1)) # log(x, base = exp(1)) # sqrt(x) # abs(x) # cumprod(x) # cumsum(x) # cos(x) # sin(x) # tan(x) # acosh(x) ...
- spam object.
- positive number. The base with respect to which logarithms are computed. Defaults to
It is important to note that the zero entries do not enter the evaluation when
structurebased=FALSE. The operations are performed on the stored non-zero elements. This may lead to differences if compared with the same operation on a full matrix.
structurebased=TRUE, all functions operate on the vector
x@entries and return the result thereof.
structurebased=FALSE, the result is identical to one with
as.matrix(x) input and an
Documentation reproduced from package spam, version 1.3-0. License: LGPL-2