MathFunR Documentation

Miscellaneous Mathematical Functions

Description

abs(x) computes the absolute value of x, sqrt(x) computes the square root of x.

Usage

## 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)

Arguments

x

a numeric vector or array.

Examples

mat <- abs(fm.runif.matrix(100, 10))
mat <- sqrt(fm.runif.matrix(100, 10))