public final class TimesFunction extends DoubleDoubleFunction
| Constructor and Description |
|---|
TimesFunction() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x,
double y)
Computes the product of two numbers.
|
boolean |
isAssociative()
x * (y * z) = (x * y) * z for any x, y, z
|
boolean |
isCommutative()
x * y = y * x for any x, y
|
boolean |
isLikeLeftMult()
0 * y = 0 for any y
|
boolean |
isLikeRightMult()
x * 0 = 0 for any x
|
boolean |
isLikeRightPlus()
x * 0 = y only if y = 0
|
isAssociativeAndCommutative, isDensifying, isLikeMultpublic double apply(double x,
double y)
apply in class DoubleDoubleFunctionx - first argumenty - second argumentpublic boolean isLikeRightPlus()
isLikeRightPlus in class DoubleDoubleFunctionpublic boolean isLikeLeftMult()
isLikeLeftMult in class DoubleDoubleFunctionpublic boolean isLikeRightMult()
isLikeRightMult in class DoubleDoubleFunctionpublic boolean isCommutative()
isCommutative in class DoubleDoubleFunctionpublic boolean isAssociative()
isAssociative in class DoubleDoubleFunctionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.