|
void | init_spacer () |
|
| TensorIOFormat (const std::vector< std::string > &_separator, const std::vector< std::string > &_prefix, const std::vector< std::string > &_suffix, int _precision=StreamPrecision, int _flags=0, const std::string &_tenPrefix="", const std::string &_tenSuffix="", const char _fill=' ') |
|
| TensorIOFormat (int _precision=StreamPrecision, int _flags=0, const std::string &_tenPrefix="", const std::string &_tenSuffix="", const char _fill=' ') |
|
Definition at line 24 of file TensorIO.h.
◆ TensorIOFormat() [1/2]
Eigen::TensorIOFormat::TensorIOFormat |
( |
const std::vector< std::string > & |
_separator, |
|
|
const std::vector< std::string > & |
_prefix, |
|
|
const std::vector< std::string > & |
_suffix, |
|
|
int |
_precision = StreamPrecision , |
|
|
int |
_flags = 0 , |
|
|
const std::string & |
_tenPrefix = "" , |
|
|
const std::string & |
_tenSuffix = "" , |
|
|
const char |
_fill = ' ' |
|
) |
| |
|
inline |
◆ TensorIOFormat() [2/2]
Eigen::TensorIOFormat::TensorIOFormat |
( |
int |
_precision = StreamPrecision , |
|
|
int |
_flags = 0 , |
|
|
const std::string & |
_tenPrefix = "" , |
|
|
const std::string & |
_tenSuffix = "" , |
|
|
const char |
_fill = ' ' |
|
) |
| |
|
inline |
◆ init_spacer()
void Eigen::TensorIOFormat::init_spacer |
( |
| ) |
|
|
inline |
Definition at line 50 of file TensorIO.h.
60 for (std::size_t k = 1; k <
prefix.size(); k++) {
61 int j = int(
prefix[k].length()) - 1;
62 while (j >= 0 &&
prefix[k][j] !=
'\n') {
◆ Legacy()
Definition at line 90 of file TensorIO.h.
92 LegacyFormat.legacy_bit =
true;
◆ Native()
Definition at line 83 of file TensorIO.h.
84 std::vector<std::string>
separator = {
", ",
",\n",
"\n"};
85 std::vector<std::string>
prefix = {
"",
"{"};
86 std::vector<std::string>
suffix = {
"",
"}"};
◆ Numpy()
Definition at line 69 of file TensorIO.h.
70 std::vector<std::string>
prefix = {
"",
"["};
71 std::vector<std::string>
suffix = {
"",
"]"};
72 std::vector<std::string>
separator = {
" ",
"\n"};
◆ Plain()
Definition at line 76 of file TensorIO.h.
77 std::vector<std::string>
separator = {
" ",
"\n",
"\n",
""};
78 std::vector<std::string>
prefix = {
""};
79 std::vector<std::string>
suffix = {
""};
◆ fill
char Eigen::TensorIOFormat::fill |
◆ flags
int Eigen::TensorIOFormat::flags |
◆ legacy_bit
bool Eigen::TensorIOFormat::legacy_bit |
◆ precision
int Eigen::TensorIOFormat::precision |
◆ prefix
std::vector<std::string> Eigen::TensorIOFormat::prefix |
◆ separator
std::vector<std::string> Eigen::TensorIOFormat::separator |
◆ spacer
std::vector<std::string> Eigen::TensorIOFormat::spacer |
◆ suffix
std::vector<std::string> Eigen::TensorIOFormat::suffix |
◆ tenPrefix
std::string Eigen::TensorIOFormat::tenPrefix |
◆ tenSuffix
std::string Eigen::TensorIOFormat::tenSuffix |
The documentation for this struct was generated from the following file: