Learn R Programming

FuzzyNumbers (version 0.4-7)

convertSide: Convert a Given Side Function to Side Generating Function

Description

The resulting function linearly scales the input and passes it to the original function.

Usage

convertSide(f, x1, x2)

Arguments

f

a function defined on [x1,x2]

x1

numeric vector of length 1; if longer, only the first element is used

x2

numeric vector of length 1; if longer, only the first element is used

Value

Returns a new function defined on [0,1] (scaled input).

Details

The function works for x1<x2 and x1>x2.

See Also

'>FuzzyNumber

Other auxiliary: approxInvert(), convertAlpha()