fapply {FuzzyNumbers}R Documentation

Apply a Function on a Fuzzy Number

Description

Applies a given monotonic function using the extension principle (i.e. the function is applied on alpha-cuts).

Usage

## S4 method for signature 'PiecewiseLinearFuzzyNumber,function'
fapply(object, fun, ...)

Arguments

object

a fuzzy number

fun

a monotonic, vectorized R function

...

additional arguments passed to fun

Details

Currently only a method for the PiecewiseLinearFuzzyNumber class has been defined. The computations are exact (up to a numeric error) at knots. So, make sure you have a sufficient number of knots if you want good approximation.

For other types of fuzzy numbers, consider using piecewiseLinearApproximation.

Value

Returns a PiecewiseLinearFuzzyNumber.

See Also

Other PiecewiseLinearFuzzyNumber-method: Arithmetic, Extract, PiecewiseLinearFuzzyNumber-class, PiecewiseLinearFuzzyNumber, ^,PiecewiseLinearFuzzyNumber,numeric-method, alphaInterval(), arctan2(), as.PiecewiseLinearFuzzyNumber(), as.PowerFuzzyNumber(), as.TrapezoidalFuzzyNumber(), as.character(), expectedInterval(), maximum(), minimum(), necessityExceedance(), necessityStrictExceedance(), necessityStrictUndervaluation(), necessityUndervaluation(), plot(), possibilityExceedance(), possibilityStrictExceedance(), possibilityStrictUndervaluation(), possibilityUndervaluation()

Other extension_principle: Arithmetic, ^,PiecewiseLinearFuzzyNumber,numeric-method


[Package FuzzyNumbers version 0.4-7 Index]