valueInFuzzy

open fun valueInFuzzy(x: Double, tolerance: Double): Either<Exception, Double>

Evaluation of z = f(x) with fuzzy checking whether x is within the function's domain.

Return

returns Result.Success(z) = f(x), if x is fuzzily contained in domain and evaluation was successful

Parameters

x

parameter x of function

tolerance

allowed tolerance for fuzzy checking