7#ifndef KERNEL_LAFEM_ARCH_MIN_ABS_INDEX_GENERIC_HPP 
    8#define KERNEL_LAFEM_ARCH_MIN_ABS_INDEX_GENERIC_HPP 1 
   10#ifndef KERNEL_LAFEM_ARCH_MIN_ABS_INDEX_HPP 
   11#error "Do not include this implementation-only header file directly!" 
   14#include <kernel/util/math.hpp> 
   22      template <
typename DT_>
 
   23      Index MinAbsIndex::value_generic(
const DT_ * 
const x, 
const Index size)
 
   28        for (
Index i(0) ; i < size ; ++i)
 
   40      template <
typename ValueType_>
 
   41      ValueType_ MinAbsIndex::value_blocked_generic(
const ValueType_ * 
const x, 
const Index size)
 
   47          for(
int j(0); j < ValueType_::n; ++j)
 
   53        for (
Index i(0) ; i < size ; ++i)
 
   55          for(
int j(0); j < ValueType_::n; ++j)
 
T_ abs(T_ x)
Returns the absolute value.
T_ min(T_ a, T_ b)
Returns the minimum of two values.
std::uint64_t Index
Index data type.