54 template<
typename dtype>
59 const auto comparitor = [](
const dtype& lhs,
const dtype& rhs)
noexcept ->
bool {
return lhs < rhs; };
62 [&comparitor](
const dtype& value1,
const dtype& value2)
63 {
return std::min(value1, value2, comparitor); });
78 template<
typename dtype>
82 return minimum(inArray, inArray2);
97 template<
typename dtype>
100 return minimum(inArray, inScalar);
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition StaticAsserts.hpp:56
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
NdArray< dtypeIn1 > & broadcaster(NdArray< dtypeIn1 > &inArray1, const NdArray< dtypeIn2 > &inArray2, const Function &function, const AdditionalFunctionArgs &&... additionalFunctionArgs)
Definition NdArrayBroadcast.hpp:52
Definition Cartesian.hpp:40
NdArray< dtype > minimum(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition minimum.hpp:55