30#include <initializer_list>
54 template<
typename dtype,
typename Iterator>
65 const auto& ndarray = *iter++;
66 finalSize += ndarray.size();
74 const auto& ndarray = *iter++;
76 offset += ndarray.size();
83 return row_stack<dtype>(begin, end);
87 return column_stack<dtype>(begin, end);
108 template<
typename dtype>
111 return detail::concatenate<dtype>(inArrayList.begin(), inArrayList.end(), inAxis);
124 template<
typename dtype>
127 return detail::concatenate<dtype>(inArrayList.begin(), inArrayList.end(), inAxis);
#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
iterator begin() noexcept
Definition: NdArrayCore.hpp:1315
NdArray< dtype > concatenate(Iterator begin, Iterator end, Axis inAxis=Axis::NONE)
Definition: concatenate.hpp:55
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 > concatenate(const std::initializer_list< NdArray< dtype > > &inArrayList, Axis inAxis=Axis::NONE)
Definition: concatenate.hpp:109
std::uint32_t uint32
Definition: Types.hpp:40