23.08
|
IO formatting information class. More...
#include <Types.h>
Public Types | |
enum | PrecisionType { Default, Custom, Full } |
Precision type used when printing floating point numbers. More... | |
enum | PrintRegion { ValidRegion, NoPadding, Full } |
Specifies the area to be printed, used by Tensor objects. More... | |
Public Member Functions | |
IOFormatInfo (PrintRegion print_region=PrintRegion::ValidRegion, PrecisionType precision_type=PrecisionType::Default, unsigned int precision=10, bool align_columns=true, std::string element_delim=" ", std::string row_delim="\n") | |
Construct a set of IO formatting information. More... | |
Data Fields | |
PrintRegion | print_region |
Area to be printed by Tensor objects. More... | |
PrecisionType | precision_type |
Floating point precision type. More... | |
unsigned int | precision |
Floating point precision. More... | |
std::string | element_delim |
Element delimeter. More... | |
std::string | row_delim |
Row delimeter. More... | |
bool | align_columns |
Align columns. More... | |
|
strong |
Precision type used when printing floating point numbers.
Definition at line 1862 of file Types.h.
|
strong |
|
inline |
Construct a set of IO formatting information.
[in] | print_region | Area to be printed. Used by Tensor objects. Default: ValidRegion. |
[in] | precision_type | Precision type for floating point numbers. Default: stream default. |
[in] | precision | Precision value for float point numbers. Default: 10. |
[in] | align_columns | Whether to align columns when printed. Default: true. |
[in] | element_delim | Delimeter between elements. Default: " ". |
[in] | row_delim | Delimenter between rows. Default: "\n". |
Definition at line 1886 of file Types.h.
PrecisionType precision_type |
PrintRegion print_region |