float (version 0.3-2)

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)

Value

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

Arguments

x

A float vector/matrix.

base

The logarithm base.

Examples

Run this code
if (FALSE) {
library(float)

x = flrunif(10)
log(x)
}

Run the code above in your browser using DataLab