NumCpp  1.0
A C++ implementation of the Python Numpy library
toStlVector.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:
44  template<typename dtype>
45  std::vector<dtype> toStlVector(const NdArray<dtype>& inArray)
46  {
47  return inArray.toStlVector();
48  }
49 }
nc::toStlVector
std::vector< dtype > toStlVector(const NdArray< dtype > &inArray)
Definition: toStlVector.hpp:45
nc::NdArray::toStlVector
std::vector< dtype > toStlVector() const
Definition: NdArrayCore.hpp:4520
nc::NdArray< dtype >
NdArray.hpp
nc
Definition: Coordinate.hpp:45