 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
51 template<
typename dtype>
58 [](dtype& value) noexcept ->
void
60 if (std::isnan(value)) { value = dtype{ 1 }; };
63 return cumprod(arrayCopy, inAxis);
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< dtype > cumprod(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: cumprod.hpp:47
NdArray< dtype > nancumprod(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nancumprod.hpp:52
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087