 |
NumCpp
2.1.0
A 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 = dtype{ 1 }; };
64 return cumprod(arrayCopy, inAxis);
void for_each(InputIt first, InputIt last, UnaryFunction f)
Definition: StlAlgorithms.hpp:214
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:44
iterator end() noexcept
Definition: NdArrayCore.hpp:1435
Axis
Enum To describe an axis.
Definition: Types.hpp:47
Definition: Coordinate.hpp:45
NdArray< dtype > cumprod(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: cumprod.hpp:48
NdArray< dtype > nancumprod(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nancumprod.hpp:53
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091