Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass BaseNumericFuzzy[T]trait NumericFuzzy[T]trait Fuzzy[T]trait () => Tclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
This class is for lazy map operations. However, at present, it is not used.
This class is for lazy map operations. However, at present, it is not used.
Type parameters
- U
-
the underlying type of the result
Value parameters
- f_
-
the value function
- g_
-
the derivative function
- isExact
-
is Exact
Attributes
- Inherited from:
- BaseNumericFuzzy
- Supertypes
Value members
Concrete methods
Result of comparing this with operand that.
Result of comparing this with operand that.
Implement this method to determine how instances of A will be sorted.
Returns x where:
-
x < 0whenthis < that -
x == 0whenthis == that -
x > 0whenthis > that
Value parameters
- that
-
the instance to compare against
Attributes
- Returns
-
an integer whose sign indicates the ordering relation between
thisandthat - Definition Classes
-
BaseNumericFuzzy -> Ordered
Abstract method to yield the fuzziness of this NumericFuzzy object. NOTE: that this method is not promoted to Fuzzy because non-numeric Fuzzy objects don't have a concept of fuzziness.
Abstract method to yield the fuzziness of this NumericFuzzy object. NOTE: that this method is not promoted to Fuzzy because non-numeric Fuzzy objects don't have a concept of fuzziness.
Attributes
- Returns
-
the degree of fuzziness of this Fuzzy object (as an absolute value)
Abstract method to determine the probability that the nominal value of this Fuzzy object is actually t
Abstract method to determine the probability that the nominal value of this Fuzzy object is actually t
Value parameters
- t
-
the candidate value
Attributes
- Returns
-
the probability (as an Option) that t=apply(). NOTE: that the value of the probability follows the rules described in method p
Abstract method to determine if this Fuzzy object is exact (i.e. zero fuzziness)
Abstract method to determine if this Fuzzy object is exact (i.e. zero fuzziness)
Attributes
- Returns
-
true if this object is exact, otherwise false
Abstract method to map this Fuzzy object into a different Fuzzy object.
Abstract method to map this Fuzzy object into a different Fuzzy object.
Type parameters
- U
-
the underlying type of the result
Value parameters
- f
-
a function T=>U which will be applied to the nominal value of this Fuzzy
- g
-
a function T=>U which will be applied to the fuzzy value of this Fuzzy. NOTE: that the coefficient of delta-T must be positive.
Attributes
- Returns
-
a Fuzzy[U] object
Abstract method to combine this Fuzzy object with another Fuzzy object
Abstract method to combine this Fuzzy object with another Fuzzy object
Type parameters
- U
-
the underlying type of uf
- V
-
the underlying type of the result
Value parameters
- f
-
the function to process the t and u (nominal) values of this and uf, respectively.
- g
-
the function to process the deltaT and deltaU (fuzzy) values of this and uf, respectively.
- uf
-
the other fuzzy object, a Fuzzy[U]
Attributes
- Returns
-
the result
Abstract method to determine the probability that the nominal value of this Fuzzy object is between t1 and t2 (inclusive).
Abstract method to determine the probability that the nominal value of this Fuzzy object is between t1 and t2 (inclusive).
Value parameters
- t1
-
the lower value
- t2
-
the higher value
Attributes
- Returns
-
a probability
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Function0 -> Any
Inherited methods
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Returns true if this is less than that
Returns true if this is less than that
Value parameters
- that
-
the instance to compare against
Attributes
- Inherited from:
- Ordered
Returns true if this is less than or equal to that.
Returns true if this is less than or equal to that.
Attributes
- Inherited from:
- Ordered
Returns true if this is greater than that.
Returns true if this is greater than that.
Value parameters
- that
-
the instance to compare against
Attributes
- Inherited from:
- Ordered
Returns true if this is greater than or equal to that.
Returns true if this is greater than or equal to that.
Attributes
- Inherited from:
- Ordered
Applies the body of this function to the arguments.
Applies the body of this function to the arguments.
Attributes
- Returns
-
the result of function application.
- Definition Classes
-
BaseNumericFuzzy -> Function0
- Inherited from:
- BaseNumericFuzzy
Result of comparing this with operand that.
Result of comparing this with operand that.
Value parameters
- that
-
the instance to compare against
Attributes
- Inherited from:
- Ordered
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Convenience method to invoke map on a NumericFuzzy such that the result is also a NumericFuzzy
Convenience method to invoke map on a NumericFuzzy such that the result is also a NumericFuzzy
Type parameters
- U
-
the underlying type of the result
Value parameters
- dfbydx
-
a function T=>U which will be applied to the nominal value of this Fuzzy.
- f
-
a function T=>U which will be applied to the nominal value of this Fuzzy
Attributes
- Returns
-
a NumericFuzzy[U] object
- Inherited from:
- BaseNumericFuzzy
Convenience method to invoke map on a NumericFuzzy such that the result is also a NumericFuzzy, but with the possibility of creating an Exact(1)
Convenience method to invoke map on a NumericFuzzy such that the result is also a NumericFuzzy, but with the possibility of creating an Exact(1)
Type parameters
- U
-
the underlying type of the result
Value parameters
- dfbydx
-
a function T=>U which will be applied to the nominal value of this Fuzzy.
- f
-
a function T=>U which will be applied to the nominal value of this Fuzzy
- unity
-
if true then an Exact(1) will be returned, otherwise we delegate to mapFunc
Attributes
- Returns
-
a NumericFuzzy[U] object
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Method to return EITHER the Probability of the nominal value of this Fuzzy being the same as t. OR (if T is continuous Numeric, such as Double) the probability density function at t.
Method to return EITHER the Probability of the nominal value of this Fuzzy being the same as t. OR (if T is continuous Numeric, such as Double) the probability density function at t.
Value parameters
- t
-
the value of t for which we wish to evaluate the probability of it matching the nominal value.
Attributes
- Returns
-
either a finite Probability or the value of the probability density function at t.
- Inherited from:
- Fuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
Attributes
- Inherited from:
- BaseNumericFuzzy
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
Attributes
- Inherited from:
- BaseNumericFuzzy
Method to yield the nominal value as a Double
Method to yield the nominal value as a Double
Attributes
- Returns
-
the nominal value of this NumericFuzzy.
- Inherited from:
- BaseNumericFuzzy