Uses of Class
edu.rit.pj.reduction.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
Modifier and TypeFieldDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic 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
Combine a range of elements from one integer array with a range of elements in another integer array.int
Combine this reduction variable with the given value using the given operation.void
Combine this array reduction variable with the given array using the given operation.void
Combine a portion of this array reduction variable with a portion of the given array using the given operation.int
Combine this array reduction variable at the given index with the given value using the given operation.void
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
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
ModifierConstructorDescriptionConstruct 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.