NumCpp  2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
flatten.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include "NumCpp/NdArray.hpp"
31 
32 namespace nc
33 {
34  //============================================================================
35  // Method Description:
44  template<typename dtype>
46  {
47  return inArray.flatten();
48  }
49 } // namespace nc
nc::NdArray< dtype >
nc::flatten
NdArray< dtype > flatten(const NdArray< dtype > &inArray)
Definition: flatten.hpp:45
NdArray.hpp
nc::NdArray::flatten
NdArray< dtype > flatten() const
Definition: NdArrayCore.hpp:2792
nc
Definition: Coordinate.hpp:44