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