math: Parallelised math operations

mathR Documentation

Parallelised math operations

Description

Parallelised math operations

Usage

abs_(x)

floor_(x)

ceiling_(x)

trunc_(x)

negate_(x)

exp_(x)

sqrt_(x)

sign_(x)

log_(x, base = exp(1))

log10_(x)

round_(x, digits = 0)

signif_(x, digits = 6)

add_(x, y)

subtract_(x, y)

multiply_(x, y)

divide_(x, y)

pow_(x, y)

Arguments

x

⁠[numeric(n)]⁠ vector.

base

⁠[numeric(n)]⁠ - Logarithm base.

digits

⁠[numeric(n)]⁠ - Number of digits to round to.

y

⁠[numeric(n)]⁠ vector.

Value

A transformed integer or double vector.


cheapr documentation built on Jan. 8, 2026, 5:09 p.m.