Uses of Class
edu.rit.pj.reduction.LongOp
Packages that use LongOp
Package
Description
The Reduction package provides a variety of reduction variables.
The Replica package provides replicated, shared reduction variables.
-
Uses of LongOp in edu.rit.pj.reduction
Fields in edu.rit.pj.reduction declared as LongOpModifier and TypeFieldDescriptionstatic final LongOpLongOp.ANDThe long bitwise "and" binary operation.static final LongOpLongOp.MAXIMUMThe long maximum binary operation.static final LongOpLongOp.MINIMUMThe long minimum binary operation.static final LongOpLongOp.ORThe long bitwise "or" binary operation.static final LongOpLongOp.PRODUCTThe long product binary operation.static final LongOpLongOp.SUMThe long sum binary operation.static final LongOpLongOp.XORThe long bitwise "exclusive or" binary operation.Methods in edu.rit.pj.reduction with parameters of type LongOpModifier and TypeMethodDescriptionstatic voidReduceArrays.reduce(long[][] src, Range srcRowRange, Range srcColRange, long[][] dst, Range dstRowRange, Range dstColRange, LongOp op) Combine a range of elements from one long matrix with a range of elements in another long matrix.static voidCombine a range of elements from one long array with a range of elements in another long array.longCombine this reduction variable with the given value using the given operation.voidCombine a portion of this array reduction variable with a portion of the given array using the given operation.longCombine this array reduction variable at the given index with the given value using the given operation.voidCombine this array reduction variable with the given array using the given operation.voidSharedLongMatrix.reduce(int dstrow, int dstcol, long[][] src, int srcrow, int srccol, int rowlen, int collen, LongOp op) Combine a portion of this matrix reduction variable with a portion of the given matrix using the given operation.longCombine this matrix reduction variable at the given row and column with the given value using the given operation.voidCombine this matrix reduction variable with the given matrix using the given operation. -
Uses of LongOp in edu.rit.pj.replica
Constructors in edu.rit.pj.replica with parameters of type LongOpModifierConstructorDescriptionReplicatedLong(LongOp op) Construct a new replicated, shared long reduction variable with the given reduction operator.ReplicatedLong(LongOp op, long initialValue) Construct a new replicated, shared long reduction variable with the given reduction operator and initial value.ReplicatedLong(LongOp op, long initialValue, int tag) Construct a new replicated, shared long reduction variable with the given reduction operator, initial value, and message tag.ReplicatedLong(LongOp op, long initialValue, int tag, Comm comm) Construct a new replicated, shared long reduction variable with the given reduction operator, initial value, message tag, and communicator.