Documentation of 'edu.rit.pj.reduction.FloatOp' Java class
FloatOp
edu.rit.pj.reduction

Class 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 FloatOp MAXIMUM
      The float maximum binary operation.
      static FloatOp MINIMUM
      The float minimum binary operation.
      static FloatOp PRODUCT
      The float product binary operation.
      static FloatOp SUM
      The float sum binary operation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract float op(float x, float y)
      Perform this binary operation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Method Detail

      • op

        public abstract float op(float x,
                                 float y)
        Perform this binary operation.
        Parameters:
        x - First argument.
        y - Second argument.
        Returns:
        (x op y), where op stands for this binary operation.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.