51 template<
typename dtype>
59 for (
auto value : inArray)
69 if (
place == inArray.size())
83 for (
uint32 i = inArray.
size() - 1; i > 0; --i)
107 for (
auto value : inArray)
117 if (placeBegin == inArray.size())
122 uint32 placeEnd = inArray.size();
123 for (
uint32 i = inArray.size() - 1; i > 0; --i)
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition: StaticAsserts.hpp:56
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
size_type size() const noexcept
Definition: NdArrayCore.hpp:4524
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1365
iterator begin() noexcept
Definition: NdArrayCore.hpp:1315
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:97
bool essentiallyEqual(dtype inValue1, dtype inValue2) noexcept
Definition: essentiallyEqual.hpp:49
Definition: Cartesian.hpp:40
void place(NdArray< dtype > &arr, const NdArray< bool > &mask, const NdArray< dtype > &vals)
Definition: place.hpp:47
NdArray< dtype > trim_zeros(const NdArray< dtype > &inArray, const std::string &inTrim="fb")
Definition: trim_zeros.hpp:52
std::uint32_t uint32
Definition: Types.hpp:40