19 #ifndef ALEXANDRIA_NDARRAY_NPY_H
20 #define ALEXANDRIA_NDARRAY_NPY_H
23 #include <boost/filesystem/path.hpp>
75 std::ofstream output(path.native(), std::ios_base::out | std::ios_base::binary);
94 std::ifstream input(path.native(), std::ios_base::in | std::ios_base::binary);
95 return readNpy<T>(input);
106 #endif // ALEXANDRIA_NDARRAY_NPY_H
NdArray< T > readNpy(std::istream &input)
Elements::Path::Item path
void writeNpy(std::ostream &out, const NdArray< T > &array)