ecld.mpnum: Wrappers for ecld to maintain consistent type between mpfr...

ecld.mpnumR Documentation

Wrappers for ecld to maintain consistent type between mpfr and numeric

Description

Primarily to make sure x is converted to mpfr vector if it is not, when use.mpfr is set.

Usage

ecld.mpnum(object, x)

ecld.ifelse(object, test, yes, no)

ecld.sapply(object, x, FUN, ...)

ecld.mclapply(object, x, FUN, ...)

Arguments

object

an object of ecd class

x

a vector of numeric or mpfr.

test

logical, test of ifelse.

yes

return values for true elements of test

no

return values for false elements of test

FUN

the function to be applied to each element of x

...

optional arguments to FUN

Value

a numeric or mpfr vector

Author(s)

Stephen H-T. Lihn


ecd documentation built on May 10, 2022, 1:07 a.m.