edu.rit.pj.reduction
Class DoubleOp
- java.lang.Object
-
- edu.rit.pj.reduction.Op
-
- edu.rit.pj.reduction.DoubleOp
-
public abstract class DoubleOp extends Op
Class DoubleOp is the abstract base class for a binary operation on double values, used to do reduction in a parallel program.
-
-
Field Summary
Fields Modifier and Type Field and Description static DoubleOpMAXIMUMThe double maximum binary operation.static DoubleOpMINIMUMThe double minimum binary operation.static DoubleOpPRODUCTThe double product binary operation.static DoubleOpSUMThe double sum binary operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract doubleop(double x, double y)Perform this binary operation.
-
-
-
Field Detail
-
SUM
public static final DoubleOp SUM
The double sum binary operation.
-
PRODUCT
public static final DoubleOp PRODUCT
The double product binary operation.
-
MINIMUM
public static final DoubleOp MINIMUM
The double minimum binary operation.
-
MAXIMUM
public static final DoubleOp MAXIMUM
The double maximum binary operation.
-
-
DMelt 3.0 © DataMelt by jWork.ORG