Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
obsidian::io::NpzWriter Class Reference

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)
 

Detailed Description

Used for writing to an NPZ file.

Constructor & Destructor Documentation

obsidian::io::NpzWriter::NpzWriter ( const std::string &  filename)

Create a new writer for an NPZ file.

Parameters
filenameThe name of the file.

The documentation for this class was generated from the following files: