Template Numerical Library version\ main:4e58ea6
Loading...
Searching...
No Matches
TNL::AnyWithArg Struct Reference

Function object implementing argany(x, y, i, j) for use with TNL::Algorithms::reduceWithArgument. 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.
 

Detailed Description

Function object implementing argany(x, y, i, j) for use with TNL::Algorithms::reduceWithArgument.

Member Function Documentation

◆ getIdentity()

template<typename T >
static constexpr T TNL::AnyWithArg::getIdentity ( )
inlinestaticconstexpr

Returns the identity element of the operation.

Suitable for TNL::Algorithms::reduce.


The documentation for this struct was generated from the following file: