View source: R/fuzzy_operations.R
fuzzy_d_squared | R Documentation |
Calculates the squared distance between two triangular fuzzy numbers using Diamond's metric.
fuzzy_d_squared(X, Y)
X |
List. First triangular fuzzy number. |
Y |
List. Second triangular fuzzy number. |
Numeric. The squared distance between X
and Y
.
X <- list(l = 1, x = 2, r = 3)
Y <- list(l = 2, x = 3, r = 4)
fuzzy_d_squared(X, Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.