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 LongOp
    Modifier and Type
    Field
    Description
    static final LongOp
    LongOp.AND
    The long bitwise "and" binary operation.
    static final LongOp
    LongOp.MAXIMUM
    The long maximum binary operation.
    static final LongOp
    LongOp.MINIMUM
    The long minimum binary operation.
    static final LongOp
    LongOp.OR
    The long bitwise "or" binary operation.
    static final LongOp
    LongOp.PRODUCT
    The long product binary operation.
    static final LongOp
    LongOp.SUM
    The long sum binary operation.
    static final LongOp
    LongOp.XOR
    The long bitwise "exclusive or" binary operation.
    Methods in edu.rit.pj.reduction with parameters of type LongOp
    Modifier and Type
    Method
    Description
    static void
    ReduceArrays.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 void
    ReduceArrays.reduce(long[] src, Range srcRange, long[] dst, Range dstRange, LongOp op)
    Combine a range of elements from one long array with a range of elements in another long array.
    long
    SharedLong.reduce(long value, LongOp op)
    Combine this reduction variable with the given value using the given operation.
    void
    SharedLongArray.reduce(int dstoff, long[] src, int srcoff, int len, LongOp op)
    Combine a portion of this array reduction variable with a portion of the given array using the given operation.
    long
    SharedLongArray.reduce(int i, long value, LongOp op)
    Combine this array reduction variable at the given index with the given value using the given operation.
    void
    SharedLongArray.reduce(long[] src, LongOp op)
    Combine this array reduction variable with the given array using the given operation.
    void
    SharedLongMatrix.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.
    long
    SharedLongMatrix.reduce(int r, int c, long value, LongOp op)
    Combine this matrix reduction variable at the given row and column with the given value using the given operation.
    void
    SharedLongMatrix.reduce(long[][] src, LongOp op)
    Combine 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 LongOp
    Modifier
    Constructor
    Description
     
    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.