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