ecd.mpnum: Wrappers for ecd to maintain consistent type between mpfr and...

ecd.mpnumR Documentation

Wrappers for ecd 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

ecd.mpnum(object, x)

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

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

ecd.mcsapply(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. Lihn


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