|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Generic type for use if array is of non-primitives. Otherwise it
is unused.public interface ParallelPrefix<T>
Interface for parallel prefix (scan) operation. Support for single dimension arrays of type byte, char, short, integer, long, float and double, plus generic arrays, using binary or unary operators.
| Method Summary | |
|---|---|
void |
scan(byte[] array,
byte[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(char[] array,
char[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(double[] array,
double[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(float[] array,
float[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(int[] inputArray,
int[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(long[] array,
long[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(short[] array,
short[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
void |
scan(T[] array,
T[] outputArray,
BinaryOp<T> op)
Perform a parallel-prefix operation on input array 'array'. |
| Method Detail |
|---|
void scan(int[] inputArray,
int[] outputArray,
BinaryOp<T> op)
inputArray - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(char[] array,
char[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(byte[] array,
byte[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(short[] array,
short[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(long[] array,
long[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(float[] array,
float[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(double[] array,
double[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
void scan(T[] array,
T[] outputArray,
BinaryOp<T> op)
array - Single dimension input arrayoutputArray - Single dimension destination array. Can be the same as
inputArrayop - binary operator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||