NumCpp  2.7.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
hstack.hpp
Go to the documentation of this file.
1 #pragma once
29 
31 #include "NumCpp/NdArray.hpp"
32 
33 #include <initializer_list>
34 
35 namespace nc
36 {
37  //============================================================================
38  // Method Description:
48  template<typename dtype>
49  NdArray<dtype> hstack(std::initializer_list<NdArray<dtype> > inArrayList)
50  {
51  return column_stack(inArrayList);
52  }
53 } // 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 > column_stack(const std::initializer_list< NdArray< dtype > > &inArrayList)
Definition: column_stack.hpp:49
NdArray< dtype > hstack(std::initializer_list< NdArray< dtype > > inArrayList)
Definition: hstack.hpp:49