LogFunctions: Logarithms and Exponentials

12-LogR Documentation

Logarithms and Exponentials

Description

exp/log functions.

Usage

## S4 method for signature 'Rcpp_MPCR'
exp(x)

## S4 method for signature 'Rcpp_MPCR'
expm1(x)

## S4 method for signature 'Rcpp_MPCR'
log(x, base = 1)

## S4 method for signature 'Rcpp_MPCR'
log10(x)

## S4 method for signature 'Rcpp_MPCR'
log2(x)

Arguments

x

An MPCR object.

base

The logarithm base. If base = 1, exp(1) is assumed, only base 1,2, and 10 available.

Value

An MPCR object of the same dimensions as the input.

Examples


library(MPCR)

x <- as.MPCR(1:20,precision="double")
log(x)


MPCR documentation built on Aug. 23, 2026, 5:10 p.m.

Related to LogFunctions in MPCR...