FuzzyNumbers (version 0.4-6)

integrate_discont_val: Integrate a Function with at Most Finite Number of Discontinuities *EXPERIMENTAL*

Description

The function uses multiple calls to integrate.

Usage

integrate_discont_val(f, from, to, discontinuities = numeric(0), ...)

Arguments

f

an R function taking a numeric vector of length 1 as its first argument and returning a numeric vector of length 1

from

the lower limit of integration

to

the upper limit of integration

discontinuities

nondecreasingly sorted numeric vector which indicates the points at which f is discontinuous

...

further arguments to be passed to the integrate function.

Value

Returns the estimate of the integral.