7#ifndef KERNEL_LAFEM_ARCH_MIN_INDEX_GENERIC_HPP 
    8#define KERNEL_LAFEM_ARCH_MIN_INDEX_GENERIC_HPP 1 
   10#ifndef KERNEL_LAFEM_ARCH_MIN_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 MinIndex::value_generic(
const DT_ * 
const x, 
const Index size)
 
   28        for (
Index i(0) ; i < size ; ++i)
 
   39      template <
typename ValueType_>
 
   40      ValueType_ MinIndex::value_blocked_generic(
const ValueType_ * 
const x, 
const Index size)
 
   49        for (
Index i(0) ; i < size ; ++i)
 
   51          for(
int j(0); j < ValueType_::n; ++j)
 
T_ min(T_ a, T_ b)
Returns the minimum of two values.
std::uint64_t Index
Index data type.