![]() |
MFEM v4.8.0
Finite element discretization library
|
i = argmax(a[i], a[j]) More...
#include <reducers.hpp>
Public Types | |
using | value_type = DevicePair<T, I> |
Static Public Member Functions | |
static MFEM_HOST_DEVICE void | Join (value_type &a, const value_type &b) |
static MFEM_HOST_DEVICE void | SetInitialValue (value_type &a) |
i = argmax(a[i], a[j])
Note: for ties the returned index can correspond to any min entry, not necesarily the first one.
Definition at line 313 of file reducers.hpp.
using mfem::ArgMaxReducer< T, I >::value_type = DevicePair<T, I> |
Definition at line 315 of file reducers.hpp.
|
inlinestatic |
Definition at line 316 of file reducers.hpp.
|
inlinestatic |
Definition at line 323 of file reducers.hpp.