Template Numerical Library version\ main:6c80161
|
Function object implementing argmin(x, y, i, j)
for use with TNL::Algorithms::reduceWithArgument.
More...
#include <TNL/Functional.h>
Public Member Functions | |
template<typename Value , typename Index > | |
constexpr void | operator() (Value &lhs, const Value &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 argmin(x, y, i, j)
for use with TNL::Algorithms::reduceWithArgument.
|
inlinestaticconstexpr |
Returns the identity element of the operation.
Suitable for TNL::Algorithms::reduce.