Used for writing to an NPZ file. More...
#include <npy.hpp>
Public Member Functions | |
NpzWriter (const std::string &filename) | |
Create a new writer for an NPZ file. More... | |
template<typename T > | |
void | write (const std::string &name, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > rowMat) |
template<typename T > | |
void | writeScalar (const std::string &name, const T value) |
Used for writing to an NPZ file.
obsidian::io::NpzWriter::NpzWriter | ( | const std::string & | filename | ) |
Create a new writer for an NPZ file.
filename | The name of the file. |