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

io manipulator used to set the threshold after which summarization is triggered. More...

#include <xio.hpp>

Public Member Functions

 threshold (int value)
 
int value () const
 

Static Public Member Functions

static int id ()
 

Detailed Description

io manipulator used to set the threshold after which summarization is triggered.

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

Definition at line 152 of file xio.hpp.

Constructor & Destructor Documentation

◆ threshold()

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

Definition at line 152 of file xio.hpp.

Member Function Documentation

◆ id()

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

Definition at line 152 of file xio.hpp.

◆ value()

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

Definition at line 152 of file xio.hpp.


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