47 template<
typename dtype>
61 for (decltype(arr.
size()) i = 0; i < arr.
size(); ++i)
65 arr[i] = vals[valIdx++ % vals.
size()];
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:36
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
size_type size() const noexcept
Definition: NdArrayCore.hpp:4105
bool isempty() const noexcept
Definition: NdArrayCore.hpp:2732
Definition: Coordinate.hpp:45
void place(NdArray< dtype > &arr, const NdArray< bool > &mask, const NdArray< dtype > &vals)
Definition: place.hpp:48