52 template<
typename dtype>
60 [](dtype& value) noexcept ->
void
62 if (std::isnan(value))
64 value = DtypeInfo<dtype>::max();
68 return min(arrayCopy, inAxis);
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:50
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
iterator end() noexcept
Definition: NdArrayCore.hpp:1623
iterator begin() noexcept
Definition: NdArrayCore.hpp:1315
void for_each(InputIt first, InputIt last, UnaryFunction f)
Definition: StlAlgorithms.hpp:225
Definition: Cartesian.hpp:40
NdArray< dtype > min(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: min.hpp:44
Axis
Enum To describe an axis.
Definition: Enums.hpp:36
NdArray< dtype > nanmin(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nanmin.hpp:53