51 template<
typename dtype>
52 std::vector<NdArray<dtype>>
59 return vsplit(inArray, indices);
63 return hsplit(inArray, indices);
#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
Definition: Coordinate.hpp:45
std::vector< NdArray< dtype > > split(const NdArray< dtype > &inArray, const NdArray< int32 > &indices, Axis inAxis=Axis::ROW)
Definition: split.hpp:53
std::vector< NdArray< dtype > > vsplit(const NdArray< dtype > &inArray, const NdArray< int32 > &indices)
Definition: vsplit.hpp:49
Axis
Enum To describe an axis.
Definition: Types.hpp:47
std::vector< NdArray< dtype > > hsplit(const NdArray< dtype > &inArray, const NdArray< int32 > &indices)
Definition: hsplit.hpp:49