54 template<
typename dtype>
55 dtype
fmax(dtype inValue1, dtype inValue2) noexcept
61 [](
const dtype value1,
const dtype value2) noexcept ->
bool {
return value1 < value2; });
77 template<
typename dtype>
80 return broadcast::broadcaster<dtype>(inArray1,
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:138
Definition: Coordinate.hpp:45
NdArray< dtype > max(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: max.hpp:44
dtype fmax(dtype inValue1, dtype inValue2) noexcept
Definition: fmax.hpp:55