Uses of Class
edu.rit.pj.reduction.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
Modifier and TypeFieldDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic 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
Combine a range of elements from one double array with a range of elements in another double array.double
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.double
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
ModifierConstructorDescriptionConstruct 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.