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

1
2
## 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: *,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, *,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, *,PiecewiseLinearFuzzyNumber,numeric-method, *,TrapezoidalFuzzyNumber,numeric-method, *,numeric,FuzzyNumber-method, +,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, +,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, +,PiecewiseLinearFuzzyNumber,numeric-method, +,TrapezoidalFuzzyNumber,TrapezoidalFuzzyNumber-method, +,numeric,FuzzyNumber-method, -,FuzzyNumber,ANY-method, -,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, -,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, -,PiecewiseLinearFuzzyNumber,numeric-method, -,TrapezoidalFuzzyNumber,TrapezoidalFuzzyNumber-method, -,numeric,FuzzyNumber-method, /,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, /,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, /,PiecewiseLinearFuzzyNumber,numeric-method, Arithmetic; PiecewiseLinearFuzzyNumber-class; PiecewiseLinearFuzzyNumber; ^,PiecewiseLinearFuzzyNumber,numeric-method; alphaInterval, alphaInterval,FuzzyNumber-method, alphaInterval,PiecewiseLinearFuzzyNumber-method, alphaInterval,PowerFuzzyNumber-method, alphaInterval,TrapezoidalFuzzyNumber-method; arctan2, arctan2,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; as.PiecewiseLinearFuzzyNumber, as.PiecewiseLinearFuzzyNumber,FuzzyNumber-method, as.PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, as.PiecewiseLinearFuzzyNumber,TrapezoidalFuzzyNumber-method, as.PiecewiseLinearFuzzyNumber,numeric-method; as.PowerFuzzyNumber, as.PowerFuzzyNumber,FuzzyNumber-method, as.PowerFuzzyNumber,PiecewiseLinearFuzzyNumber-method, as.PowerFuzzyNumber,PowerFuzzyNumber-method, as.PowerFuzzyNumber,TrapezoidalFuzzyNumber-method, as.PowerFuzzyNumber,numeric-method; as.TrapezoidalFuzzyNumber, as.TrapezoidalFuzzyNumber,FuzzyNumber-method, as.TrapezoidalFuzzyNumber,PiecewiseLinearFuzzyNumber-method, as.TrapezoidalFuzzyNumber,PowerFuzzyNumber-method, as.TrapezoidalFuzzyNumber,TrapezoidalFuzzyNumber-method, as.TrapezoidalFuzzyNumber,numeric-method; as.character, as.character,FuzzyNumber-method, as.character,PiecewiseLinearFuzzyNumber-method, as.character,PowerFuzzyNumber-method, as.character,TrapezoidalFuzzyNumber-method; expectedInterval, expectedInterval,FuzzyNumber-method, expectedInterval,PiecewiseLinearFuzzyNumber-method, expectedInterval,PowerFuzzyNumber-method, expectedInterval,TrapezoidalFuzzyNumber-method; maximum, maximum,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; minimum, minimum,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; necessityExceedance, necessityExceedance,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; necessityStrictExceedance, necessityStrictExceedance,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; necessityStrictUndervaluation, necessityStrictUndervaluation,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; necessityUndervaluation, necessityUndervaluation,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; plot, plot,DiscontinuousFuzzyNumber,missing-method, plot,FuzzyNumber,missing-method, plot,PiecewiseLinearFuzzyNumber,missing-method, plot,TrapezoidalFuzzyNumber,missing-method; possibilityExceedance, possibilityExceedance,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; possibilityStrictExceedance, possibilityStrictExceedance,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; possibilityStrictUndervaluation, possibilityStrictUndervaluation,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method; possibilityUndervaluation, possibilityUndervaluation,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method

Other extension_principle: *,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, *,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, *,PiecewiseLinearFuzzyNumber,numeric-method, *,TrapezoidalFuzzyNumber,numeric-method, *,numeric,FuzzyNumber-method, +,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, +,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, +,PiecewiseLinearFuzzyNumber,numeric-method, +,TrapezoidalFuzzyNumber,TrapezoidalFuzzyNumber-method, +,numeric,FuzzyNumber-method, -,FuzzyNumber,ANY-method, -,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, -,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, -,PiecewiseLinearFuzzyNumber,numeric-method, -,TrapezoidalFuzzyNumber,TrapezoidalFuzzyNumber-method, -,numeric,FuzzyNumber-method, /,PiecewiseLinearFuzzyNumber,FuzzyNumber-method, /,PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber-method, /,PiecewiseLinearFuzzyNumber,numeric-method, Arithmetic; ^,PiecewiseLinearFuzzyNumber,numeric-method

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.