operator<<,>>(std::geometric_distribution) (3) - Linux Manuals
operator<<,>>(std::geometric_distribution): operator<<,>>(std::geometric_distribution)
Command to display operator<<,>>(std::geometric_distribution)
manual in Linux: $ man 3 operator<<,>>(std::geometric_distribution)
NAME
operator<<,>>(std::geometric_distribution) - operator<<,>>(std::geometric_distribution)
Synopsis
template< class CharT, class Traits, class ResultType >
std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, (1)
const geometric_distribution<ResultType>& d );
template< class CharT, class Traits, class ResultType >
std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist, (2)
geometric_distribution<ResultType>& d );
Performs stream input and output operations on pseudo-random number distribution d.
1) Writes a textual representation of the distribution parameters and internal state to ost as textual representation. The formatting flags and fill character of ost are unchanged.
2) Restores the distribution parameters and internal state with data read from ist. The formatting flags of ist are unchanged. The data must have been written using a stream with the same locale, CharT and Traits template parameters, otherwise the behavior is undefined. If bad input is encountered, ist.setstate(std::ios::failbit) is called, which may throw std::ios_base::failure. d is unchanged in that case.
Parameters
ost - output stream to insert the data to
ist - input stream to extract the data from
d - pseudo-random number distribution
Return value
1) ost
2) ist
Exceptions
1) (none)
2) may throw std::ios_base::failure on bad input.
Pages related to operator<<,>>(std::geometric_distribution)
- operator<<,>>(std::gamma_distribution) (3) - operator<<,>>(std::gamma_distribution)
- operator<<,>>(std::basic_string) (3) - operator<<,>>(std::basic_string)
- operator<<,>>(std::bernoulli_distribution) (3) - operator<<,>>(std::bernoulli_distribution)
- operator<<,>>(std::binomial_distribution) (3) - operator<<,>>(std::binomial_distribution)
- operator<<,>>(std::bitset) (3) - operator<<,>>(std::bitset)
- operator<<,>>(std::cauchy_distribution) (3) - operator<<,>>(std::cauchy_distribution)
- operator<<,>>(std::chi_squared_distribution) (3) - operator<<,>>(std::chi_squared_distribution)
- operator<<,>>(std::complex) (3) - operator<<,>>(std::complex)
- operator<<,>>(std::discard_block_engine) (3) - operator<<,>>(std::discard_block_engine)
- operator<<,>>(std::discrete_distribution) (3) - operator<<,>>(std::discrete_distribution)
- operator<<,>>(std::experimental::filesystem::path) (3) - operator<<,>>(std::experimental::filesystem::path)
- operator<<,>>(std::exponential_distribution) (3) - operator<<,>>(std::exponential_distribution)
- operator<<,>>(std::extreme_value_distribution) (3) - operator<<,>>(std::extreme_value_distribution)
- operator<<,>>(std::filesystem::path) (3) - operator<<,>>(std::filesystem::path)
- operator<<,>>(std::fisher_f_distribution) (3) - operator<<,>>(std::fisher_f_distribution)
- operator<<,>>(std::independent_bits_engine) (3) - operator<<,>>(std::independent_bits_engine)
- operator<<,>>(std::linear_congruential_engine) (3) - operator<<,>>(std::linear_congruential_engine)
- operator<<,>>(std::lognormal_distribution) (3) - operator<<,>>(std::lognormal_distribution)
- operator<<,>>(std::mersenne_twister_engine) (3) - operator<<,>>(std::mersenne_twister_engine)
- operator<<,>>(std::negative_binomial_distribution) (3) - operator<<,>>(std::negative_binomial_distribution)
- operator<<,>>(std::normal_distribution) (3) - operator<<,>>(std::normal_distribution)
- operator<<,>>(std::piecewise_constant_distribution) (3) - operator<<,>>(std::piecewise_constant_distribution)
- operator<<,>>(std::piecewise_linear_distribution) (3) - operator<<,>>(std::piecewise_linear_distribution)