 |
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>::min(); };
64 return argmax(arrayCopy, inAxis);
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
NdArray< uint32 > nanargmax(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nanargmax.hpp:53
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087
NdArray< uint32 > argmax(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: argmax.hpp:47