51 template<
typename dtype,
typename Indices, type_traits::ndarray_
int_concept<Indices> = 0>
58 return vsplit(inArray, indices);
62 return hsplit(inArray, indices);
#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
Definition: Cartesian.hpp:40
std::vector< NdArray< dtype > > hsplit(const NdArray< dtype > &inArray, const Indices &indices)
Definition: hsplit.hpp:50
Axis
Enum To describe an axis.
Definition: Enums.hpp:36
std::vector< NdArray< dtype > > split(const NdArray< dtype > &inArray, const Indices &indices, Axis inAxis=Axis::ROW)
Definition: split.hpp:52
std::vector< NdArray< dtype > > vsplit(const NdArray< dtype > &inArray, const Indices &indices)
Definition: vsplit.hpp:49