elwise {madness} | R Documentation |
Element-wise multivariate operations.
## S4 method for signature 'madness'
abs(x)
## S4 method for signature 'madness'
exp(x)
## S4 method for signature 'madness'
log(x)
## S4 method for signature 'madness'
log10(x)
## S4 method for signature 'madness'
sqrt(x)
## S4 method for signature 'madness'
sin(x)
## S4 method for signature 'madness'
cos(x)
## S4 method for signature 'madness'
tan(x)
x |
|
These operations are scalar-to-scalar operations applied to each element of a multidimensional array.
The exp
, log
, and sqrt
functions are not to be confused with the matrix-wise operations,
expm
, logm
and sqrtm
Steven E. Pav shabbychef@gmail.com