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

io manipulator used to set the number of egde items if the summarization is triggered. More...

#include <xio.hpp>

Public Member Functions

 edge_items (int value)
 
int value () const
 

Static Public Member Functions

static int id ()
 

Detailed Description

io manipulator used to set the number of egde items if the summarization is triggered.

using po = xt::print_options;
xt::xarray<double> a = xt::rand::randn<double>({2000, 500});
std::cout << po::edge_items(5) << a << std::endl;

Definition at line 166 of file xio.hpp.

Constructor & Destructor Documentation

◆ edge_items()

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

Definition at line 166 of file xio.hpp.

Member Function Documentation

◆ id()

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

Definition at line 166 of file xio.hpp.

◆ value()

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

Definition at line 166 of file xio.hpp.


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