elwise | 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
matwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.