Rosetta
Namespaces | Functions
MathNTensor_io.hh File Reference
#include <numeric/MathNTensor.hh>
#include <utility/io/izstream.hh>
#include <utility/io/ozstream.hh>
#include <utility/file/file_sys_util.hh>
#include <utility/string_util.hh>
#include <utility/tools/make_vector.hh>
#include <utility/json_spirit/json_spirit_tools.hh>
#include <utility/json_spirit/json_spirit_reader.h>
#include <utility/json_spirit/json_spirit_writer.h>

Namespaces

 numeric
 Unit headers.
 

Functions

template<class T , numeric::Size N>
bool numeric::write_tensor_to_file_without_json (std::string const &filename, MathNTensor< T, N > const &tensor)
 
template<class T , numeric::Size N>
void numeric::read_tensor_from_file (std::string const &filename_input, MathNTensor< T, N > &tensor, utility::json_spirit::mObject &json)
 
template<class T , numeric::Size N>
void numeric::read_tensor_from_file (std::string const &filename, MathNTensor< T, N > &tensor)
 
template<class T , numeric::Size N>
bool numeric::write_tensor_to_file (std::string const &filename, MathNTensor< T, N > const &tensor, utility::json_spirit::Value const &json_input)
 
template<class T , numeric::Size N>
bool numeric::write_tensor_to_file (std::string const &filename, MathNTensor< T, N > const &tensor)