Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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/tools/make_vector1.hh>
#include <utility/json_spirit/json_spirit.h>
#include <utility/json_spirit/json_spirit_tools.hh>

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)