NumCpp  2.5.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
tofile.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include "NumCpp/NdArray.hpp"
31 
32 #include <string>
33 
34 namespace nc
35 {
36  //============================================================================
37  // Method Description:
48  template<typename dtype>
49  void tofile(const NdArray<dtype>& inArray, const std::string& inFilename, const std::string& inSep = "")
50  {
51  return inArray.tofile(inFilename, inSep);
52  }
53 } // namespace nc
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
void tofile(const std::string &inFilename, const std::string &inSep="") const
Definition: NdArrayCore.hpp:4666
Definition: Coordinate.hpp:45
void tofile(const NdArray< dtype > &inArray, const std::string &inFilename, const std::string &inSep="")
Definition: tofile.hpp:49