54 template<
typename dtype>
55 dtype
fmax(dtype inValue1, dtype inValue2)
noexcept
59 return std::max(inValue1,
61 [](
const dtype value1,
const dtype value2)
noexcept ->
bool {
return value1 < value2; });
77 template<
typename dtype>
82 [](dtype inValue1, dtype inValue2)
noexcept -> dtype
83 {
return fmax(inValue1, inValue2); });
100 template<
typename dtype>
104 return fmax(inArray, inArray2);
121 template<
typename dtype>
124 return fmax(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
dtype fmax(dtype inValue1, dtype inValue2) noexcept
Definition fmax.hpp:55