MathFun | R Documentation |
abs(x)
computes the absolute value of x, sqrt(x)
computes the square
root of x.
## S4 method for signature 'fm' abs(x) ## S4 method for signature 'fmV' abs(x) ## S4 method for signature 'fm' sqrt(x) ## S4 method for signature 'fmV' sqrt(x)
x |
a numeric vector or array. |
mat <- abs(fm.runif.matrix(100, 10)) mat <- sqrt(fm.runif.matrix(100, 10))