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

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

    Fields in edu.rit.pj.reduction declared as DoubleOp
    Modifier and Type
    Field
    Description
    static final DoubleOp
    DoubleOp.MAXIMUM
    The double maximum binary operation.
    static final DoubleOp
    DoubleOp.MINIMUM
    The double minimum binary operation.
    static final DoubleOp
    DoubleOp.PRODUCT
    The double product binary operation.
    static final DoubleOp
    DoubleOp.SUM
    The double sum binary operation.
    Methods in edu.rit.pj.reduction with parameters of type DoubleOp
    Modifier and Type
    Method
    Description
    static void
    ReduceArrays.reduce(double[][] src, Range srcRowRange, Range srcColRange, double[][] dst, Range dstRowRange, Range dstColRange, DoubleOp op)
    Combine a range of elements from one double matrix with a range of elements in another double matrix.
    static void
    ReduceArrays.reduce(double[] src, Range srcRange, double[] dst, Range dstRange, DoubleOp op)
    Combine a range of elements from one double array with a range of elements in another double array.
    double
    SharedDouble.reduce(double value, DoubleOp op)
    Combine this reduction variable with the given value using the given operation.
    void
    SharedDoubleArray.reduce(double[] src, DoubleOp op)
    Combine this array reduction variable with the given array using the given operation.
    void
    SharedDoubleArray.reduce(int dstoff, double[] src, int srcoff, int len, DoubleOp op)
    Combine a portion of this array reduction variable with a portion of the given array using the given operation.
    double
    SharedDoubleArray.reduce(int i, double value, DoubleOp op)
    Combine this array reduction variable at the given index with the given value using the given operation.
  • Uses of DoubleOp in edu.rit.pj.replica

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