|
FreePOOMA
2.4.1
|
Reduction functions for Fields and Arrays. More...


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. | |
Reduction functions for Fields and Arrays.
| Subject::Element_t sum | ( | const Subject & | s | ) |
Sum up the elements.
| Subject::Element_t prod | ( | const Subject & | s | ) |
Compute the product of the elements.
| Subject::Element_t min | ( | const Subject & | s | ) |
Find the smallest element.
| Subject::Element_t max | ( | const Subject & | s | ) |
Find the largest element.
| bool all | ( | const Subject & | s | ) |
Report if all of the elements are true.
Referenced by SpatialPartition< ReferenceLayout >::partition().
| bool any | ( | const Subject & | s | ) |
Report if some of the elements are true.
| Subject::Element_t bitOr | ( | const Subject & | s | ) |
Bitwise-or all of the elements together.
| Subject::Element_t bitAnd | ( | const Subject & | s | ) |
Bitwise-and all of the elements together.
1.7.6.1