51 template<
typename dtype>
64 for (
auto i = 0u; i <
inArray1.size(); ++i)
66 if constexpr (std::is_floating_point_v<dtype>)
78 return std::make_pair(
div,
mod);
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition Error.hpp:37
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
Definition Cartesian.hpp:40
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
std::pair< NdArray< dtype >, NdArray< dtype > > divmod(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition divmod.hpp:52
NdArray< dtype > mod(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition mod.hpp:46