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

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

    Methods in edu.rit.pj.reduction with parameters of type ObjectOp
    Modifier and Type
    Method
    Description
    static <DT, ST extends DT>
    void
    ReduceArrays.reduce(ST[][] src, Range srcRowRange, Range srcColRange, DT[][] dst, Range dstRowRange, Range dstColRange, ObjectOp<DT> op)
    Combine a range of elements from one object matrix with a range of elements in another object matrix.
    static <DT, ST extends DT>
    void
    ReduceArrays.reduce(ST[] src, Range srcRange, DT[] dst, Range dstRange, ObjectOp<DT> op)
    Combine a range of elements from one object array with a range of elements in another object array.
    SharedObject.reduce(T value, ObjectOp<T> op)
    Combine this reduction variable with the given value using the given operation.
    void
    SharedObjectArray.reduce(int dstoff, T[] src, int srcoff, int len, ObjectOp<T> op)
    Combine a portion of this array reduction variable with a portion of the given array using the given operation.
    SharedObjectArray.reduce(int i, T value, ObjectOp<T> op)
    Combine this array reduction variable at the given index with the given value using the given operation.
    void
    SharedObjectArray.reduce(T[] src, ObjectOp<T> op)
    Combine this array reduction variable with the given array using the given operation.
  • Uses of ObjectOp in edu.rit.pj.replica

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