#include "Evaluator/Reduction.h"
#include "Utilities/WrappedInt.h"
Functions | |
template<class Subject > | |
Subject::Element_t | sum (const Subject &s) |
Sum up the elements. | |
template<class Subject > | |
Subject::Element_t | prod (const Subject &s) |
Compute the product of the elements. | |
template<class Subject > | |
Subject::Element_t | min (const Subject &s) |
Find the smallest element. | |
template<class Subject > | |
Subject::Element_t | max (const Subject &s) |
Find the largest element. | |
template<class Subject > | |
bool | all (const Subject &s) |
Report if all of the elements are true. | |
template<class Subject > | |
bool | any (const Subject &s) |
Report if some of the elements are true. | |
template<class Subject > | |
Subject::Element_t | bitOr (const Subject &s) |
Bitwise-or all of the elements together. | |
template<class Subject > | |
Subject::Element_t | bitAnd (const Subject &s) |
Bitwise-and all of the elements together. |
Subject::Element_t sum | ( | const Subject & | s | ) | [inline] |
Sum up the elements.
Subject::Element_t prod | ( | const Subject & | s | ) | [inline] |
Compute the product of the elements.
Subject::Element_t min | ( | const Subject & | s | ) | [inline] |
Find the smallest element.
Subject::Element_t max | ( | const Subject & | s | ) | [inline] |
Find the largest element.
bool all | ( | const Subject & | s | ) | [inline] |
Report if all of the elements are true.
Referenced by SpatialPartition< ReferenceLayout >::partition().
bool any | ( | const Subject & | s | ) | [inline] |
Report if some of the elements are true.
Subject::Element_t bitOr | ( | const Subject & | s | ) | [inline] |
Bitwise-or all of the elements together.
Subject::Element_t bitAnd | ( | const Subject & | s | ) | [inline] |
Bitwise-and all of the elements together.