|
Template Numerical Library version\ main:d08c4decc
|
Function object implementing argany(x, y, i, j), i.e. returning the first true value and its index. More...
#include <TNL/Functional.h>
Public Member Functions | |
| template<typename Index> | |
| constexpr void | operator() (bool &lhs, const bool &rhs, Index &lhsIdx, const Index &rhsIdx) const |
Static Public Member Functions | |
| template<typename T> | |
| static constexpr T | getIdentity () |
| Returns the identity element of the operation. | |
Function object implementing argany(x, y, i, j), i.e. returning the first true value and its index.
|
inlinestaticconstexpr |
Returns the identity element of the operation.
Suitable for TNL::Algorithms::reduce.