io manipulator used to set the precision of the floating point values when printing an expression.
More...
#include <xio.hpp>
io manipulator used to set the precision of the floating point values when printing an expression.
using po = xt::print_options;
std::cout << po::precision(5) << a << std::endl;
xarray_container< uvector< T, A >, L, xt::svector< typename uvector< T, A >::size_type, 4, SA, true > > xarray
Alias template on xarray_container with default parameters for data container type and shape / stride...
Definition at line 180 of file xio.hpp.
◆ precision()
xt::print_options::precision::precision |
( |
int | value | ) |
|
|
inline |
◆ id()
static int xt::print_options::precision::id |
( |
| ) |
|
|
inlinestatic |
◆ value()
int xt::print_options::precision::value |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/xtensor/xtensor/include/xtensor/xio.hpp