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 18 of file TensorIO.h.
◆ TensorIO()
txeo::TensorIO::TensorIO |
( |
const std::filesystem::path & |
path, |
|
|
char |
separator = ',' |
|
) |
| |
|
inlineexplicit |
Definition at line 20 of file TensorIO.h.
static txeo::Tensor< T > read_textfile(const std::filesystem::path &path, char separator=',', bool has_header=false)
◆ read_text_file()
◆ read_textfile()
template<typename T >
static txeo::Tensor< T > txeo::TensorIO::read_textfile |
( |
const std::filesystem::path & |
path, |
|
|
char |
separator = ',' , |
|
|
bool |
has_header = false |
|
) |
| |
|
inlinestatic |
Definition at line 38 of file TensorIO.h.
39 {
43 };
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 47 of file TensorIO.h.
48 {
51 }
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: