Uses of Class
edu.rit.pj.reduction.IntegerOp

Packages that use IntegerOp
Package
Description
The Reduction package provides a variety of reduction variables.
The Replica package provides replicated, shared reduction variables.
  • Uses of IntegerOp in edu.rit.pj.reduction

    Fields in edu.rit.pj.reduction declared as IntegerOp
    Modifier and Type
    Field
    Description
    static final IntegerOp
    IntegerOp.AND
    The integer bitwise "and" binary operation.
    static final IntegerOp
    IntegerOp.MAXIMUM
    The integer maximum binary operation.
    static final IntegerOp
    IntegerOp.MINIMUM
    The integer minimum binary operation.
    static final IntegerOp
    IntegerOp.OR
    The integer bitwise "or" binary operation.
    static final IntegerOp
    IntegerOp.PRODUCT
    The integer product binary operation.
    static final IntegerOp
    IntegerOp.SUM
    The integer sum binary operation.
    static final IntegerOp
    IntegerOp.XOR
    The integer bitwise "exclusive or" binary operation.
    Methods in edu.rit.pj.reduction with parameters of type IntegerOp
    Modifier and Type
    Method
    Description
    static void
    ReduceArrays.reduce(int[][] src, Range srcRowRange, Range srcColRange, int[][] dst, Range dstRowRange, Range dstColRange, IntegerOp op)
    Combine a range of elements from one integer matrix with a range of elements in another integer matrix.
    static void
    ReduceArrays.reduce(int[] src, Range srcRange, int[] dst, Range dstRange, IntegerOp op)
    Combine a range of elements from one integer array with a range of elements in another integer array.
    int
    SharedInteger.reduce(int value, IntegerOp op)
    Combine this reduction variable with the given value using the given operation.
    void
    SharedIntegerArray.reduce(int[] src, IntegerOp op)
    Combine this array reduction variable with the given array using the given operation.
    void
    SharedIntegerArray.reduce(int dstoff, int[] src, int srcoff, int len, IntegerOp op)
    Combine a portion of this array reduction variable with a portion of the given array using the given operation.
    int
    SharedIntegerArray.reduce(int i, int value, IntegerOp op)
    Combine this array reduction variable at the given index with the given value using the given operation.
    void
    SharedIntegerMatrix.reduce(int[][] src, IntegerOp op)
    Combine this matrix reduction variable with the given matrix using the given operation.
    void
    SharedIntegerMatrix.reduce(int dstrow, int dstcol, int[][] src, int srcrow, int srccol, int rowlen, int collen, IntegerOp op)
    Combine a portion of this matrix reduction variable with a portion of the given matrix using the given operation.
    int
    SharedIntegerMatrix.reduce(int r, int c, int value, IntegerOp op)
    Combine this matrix reduction variable at the given row and column with the given value using the given operation.
  • Uses of IntegerOp in edu.rit.pj.replica

    Constructors in edu.rit.pj.replica with parameters of type IntegerOp
    Modifier
    Constructor
    Description
     
    Construct a new replicated, shared integer reduction variable with the given reduction operator.
     
    ReplicatedInteger(IntegerOp op, int initialValue)
    Construct a new replicated, shared integer reduction variable with the given reduction operator and initial value.
     
    ReplicatedInteger(IntegerOp op, int initialValue, int tag)
    Construct a new replicated, shared integer reduction variable with the given reduction operator, initial value, and message tag.
     
    ReplicatedInteger(IntegerOp op, int initialValue, int tag, Comm comm)
    Construct a new replicated, shared integer reduction variable with the given reduction operator, initial value, message tag, and communicator.