prodSfuzzy {fuzzyreg} | R Documentation |
Product of a Scalar and a Triangular Fuzzy Number
Description
Calculates product of a real number scalar and a triangular fuzzy number defined as a central value, left and right spread.
Usage
prodSfuzzy(x, y)
Arguments
x |
numeric vector of length one. |
y |
a numeric vector of length three, specifying a triangular fuzzy number as its central value, left and right spread. |
Details
Note that if x < 0
the left and right spread will be reversed.
Value
Returns a numeric vector, representing a triangular fuzzy number.
Examples
x <- 2
y <- c(2, 0.2, 0.2)
prodSfuzzy(x = x, y = y)
x <- -2
prodSfuzzy(x = x, y = y)
[Package fuzzyreg version 0.6.2 Index]