NumCpp  1.0
A C++ implementation of the Python Numpy library
flatten.hpp
Go to the documentation of this file.
1 #pragma once
30 
31 #include "NumCpp/NdArray.hpp"
32 
33 namespace nc
34 {
35  //============================================================================
36  // Method Description:
45  template<typename dtype>
47  {
48  return inArray.flatten();
49  }
50 }
nc::NdArray< dtype >
nc::flatten
NdArray< dtype > flatten(const NdArray< dtype > &inArray)
Definition: flatten.hpp:46
NdArray.hpp
nc::NdArray::flatten
NdArray< dtype > flatten() const
Definition: NdArrayCore.hpp:2768
nc
Definition: Coordinate.hpp:45