52 template<
typename dtype>
57 return inAppendValues;
71 inAppendValues.
cend(),
79 const Shape appendShape = inAppendValues.
shape();
80 if (inShape.
cols != appendShape.
cols)
83 "all the input array dimensions except for the concatenation axis must match exactly");
89 inAppendValues.
cend(),
97 const Shape appendShape = inAppendValues.
shape();
98 if (inShape.
rows != appendShape.
rows)
101 "all the input array dimensions except for the concatenation axis must match exactly");
105 for (
uint32 row = 0; row < returnArray.
shape().rows; ++row)
109 inAppendValues.
cend(row),
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
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
const Shape & shape() const noexcept
Definition: NdArrayCore.hpp:4511
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1673
iterator begin() noexcept
Definition: NdArrayCore.hpp:1315
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
bool isnull() const noexcept
Definition: Core/Shape.hpp:115
uint32 rows
Definition: Core/Shape.hpp:44
uint32 cols
Definition: Core/Shape.hpp:45
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:97
Definition: Cartesian.hpp:40
Axis
Enum To describe an axis.
Definition: Enums.hpp:36
NdArray< dtype > append(const NdArray< dtype > &inArray, const NdArray< dtype > &inAppendValues, Axis inAxis=Axis::NONE)
Definition: append.hpp:53
std::uint32_t uint32
Definition: Types.hpp:40