Learn R Programming

SAFD (version 0.02)

sc_mult: Minkowski scalar multiplication

Description

Given an input dataframe (polygonal fuzzy number) X in the correct format (tested by checking), and a scalar b the fuzzy number bX is calculated using level-wise Minkowski scalar multiplication.

Usage

sc_mult(X, b)

Arguments

X
...dataframe, if checking(X)=1 the product bX is returned, if not, NA is returned.
b
...numeric

Value

  • Given correct input data, the function returns the polygonal fuzzy number bX. In case of wrong input data, NA is returned

Details

See examples

See Also

See Also checking

Examples

Run this code
data(XX)
X<-translator(XX[[1]],10)
E<-sc_mult(X,-2)

U<-data.frame(cbind(x=c(-1,0,1),alpha=c(0,1,0)))
sc_mult(U,2)

Run the code above in your browser using DataLab