float (version 0.2-4)

log: Logarithms and Exponentials

Description

exp/log functions.

Usage

# S4 method for float32
exp(x)

# S4 method for float32 expm1(x)

# S4 method for float32 log(x, base = exp(1))

# S4 method for float32 log10(x)

# S4 method for float32 log2(x)

Arguments

x

A float vector/matrix.

base

The logarithm base.

Value

A float vector/matrix of the same dimensions as the input.

Examples

Run this code
# NOT RUN {
library(float)

x = flrunif(10)
log(x)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab