NumCpp  2.6.2
A Templatized Header Only C++ Implementation of the Python NumPy Library
hstack.hpp
Go to the documentation of this file.
1 
28 #pragma once
29 
31 #include "NumCpp/NdArray.hpp"
32 
33 #include <initializer_list>
34 
35 namespace nc
36 {
37  //============================================================================
38  // Method Description:
50  template<typename dtype>
51  NdArray<dtype> hstack(const std::initializer_list<NdArray<dtype> >& inArrayList)
52  {
53  return column_stack(inArrayList);
54  }
55 } // namespace nc
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
Definition: Coordinate.hpp:45
NdArray< dtype > hstack(const std::initializer_list< NdArray< dtype > > &inArrayList)
Definition: hstack.hpp:51
NdArray< dtype > column_stack(const std::initializer_list< NdArray< dtype > > &inArrayList)
Definition: column_stack.hpp:51