This class is deprecated. Please use class txeo::MatrixIO.
More...
#include <TensorIO.h>
|
template<typename T > |
static txeo::Tensor< T > | read_textfile (const std::filesystem::path &path, char separator=',', bool has_header=false) |
|
template<typename T > |
static void | write_textfile (const txeo::Tensor< T > &tensor, const std::filesystem::path &path, char separator=',') |
|
template<typename T >
requires (std::is_floating_point_v<T>) |
static void | write_textfile (const txeo::Tensor< T > &tensor, size_t precision, const std::filesystem::path &path, char separator=',') |
|
This class is deprecated. Please use class txeo::MatrixIO.
Definition at line 20 of file TensorIO.h.
◆ TensorIO()
txeo::TensorIO::TensorIO |
( |
const std::filesystem::path & |
path, |
|
|
char |
separator = ',' |
|
) |
| |
|
inlineexplicit |
Definition at line 22 of file TensorIO.h.
23 : _path(std::move(path)), _separator(separator) {};
◆ read_text_file()
◆ read_textfile()
Definition at line 40 of file TensorIO.h.
41 {
44 return resp;
45 };
This class is deprecated. Please use class txeo::MatrixIO.
txeo::Tensor< T > read_text_file(bool has_header=false) const
◆ write_text_file() [1/2]
◆ write_text_file() [2/2]
template<
typename T >
requires (std::is_floating_point_v<
T>)
◆ write_textfile() [1/2]
Definition at line 49 of file TensorIO.h.
50 {
53 }
void write_text_file(const txeo::Tensor< T > &tensor) const
◆ write_textfile() [2/2]
template<
typename T >
requires (std::is_floating_point_v<
T>)
The documentation for this class was generated from the following file: