 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
52 template<
typename dtype>
59 [](dtype& value) noexcept ->
void
61 if (std::isnan(value)) { value = DtypeInfo<dtype>::max(); };
64 return argmin(arrayCopy, inAxis);
NdArray< uint32 > argmin(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: argmin.hpp:47
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:71
void for_each(InputIt first, InputIt last, UnaryFunction f)
Definition: StlAlgorithms.hpp:213
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:43
iterator end() noexcept
Definition: NdArrayCore.hpp:1431
Axis
Enum To describe an axis.
Definition: Types.hpp:46
Definition: Coordinate.hpp:44
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087
NdArray< uint32 > nanargmin(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nanargmin.hpp:53