xtensor
Loading...
Searching...
No Matches
xt::print_options::line_width Class Reference

io manipulator used to set the width of the lines when printing an expression. More...

#include <xio.hpp>

Public Member Functions

 line_width (int value)
 
int value () const
 

Static Public Member Functions

static int id ()
 

Detailed Description

io manipulator used to set the width of the lines when printing an expression.

using po = xt::print_options;
xt::xarray<double> a = {{1, 2, 3}, {4, 5, 6}};
std::cout << po::line_width(100) << a << std::endl;

Definition at line 138 of file xio.hpp.

Constructor & Destructor Documentation

◆ line_width()

xt::print_options::line_width::line_width ( int value)
inline

Definition at line 138 of file xio.hpp.

Member Function Documentation

◆ id()

static int xt::print_options::line_width::id ( )
inlinestatic

Definition at line 138 of file xio.hpp.

◆ value()

int xt::print_options::line_width::value ( ) const
inline

Definition at line 138 of file xio.hpp.


The documentation for this class was generated from the following file: