std::feclearexcept

Defined in header <cfenv> int feclearexcept( int excepts ); (since C++11) Attempts to clear the floating-point exceptions that are listed in the bitmask argument excepts, which is a bitwise OR of the floating point exception macros. Parameters excepts - bitmask listing the exception flags to clear Return value ​0​ if all indicated exceptions were successfully cleared or if excepts is zero. Returns a non-zero value on error. Example #include <iostream&g

std::fdim

Defined in header <cmath> float fdim( float x, float y ); (1) (since C++11) double fdim( double x, double y ); (2) (since C++11) long double fdim( long double x, long double y ); (3) (since C++11) Promoted fdim( Arithmetic1 x, Arithmetic2 y ); (4) (since C++11) 1-3) Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0. 4) A set of overloads or a function template for all combinatio

std::fclose

Defined in header <cstdio> int fclose( std::FILE* stream ); Closes the given file stream. Any unwritten buffered data are flushed to the OS. Any unread buffered data are discarded. Whether or not the operation succeeds, the stream is no longer associated with a file, and the buffer allocated by std::setbuf or std::setvbuf, if any, is also disassociated and deallocated if automatic allocation was used. Parameters stream - the file stream to close Return value ​

std::extreme_value_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.

std::extreme_value_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::extreme_value_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::extreme_value_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::extreme_value_distribution::extreme_value_distribution

explicit extreme_value_distribution( RealType a = 0.0, RealType b = 1.0 ); (1) (since C++11) explicit extreme_value_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (location) b - the b distribution parameter (scale) params - the distribution

std::extreme_value_distribution::a

RealType a() const; (1) (since C++11) RealType b() const; (2) (since C++11) Returns the parameters the distribution was constructed with. 1) Returns the a distribution parameter (scale). The default value is 1.0. 2) Returns the b distribution parameter (location). The default value is 0.0. Parameters (none). Return value 1) The a distribution parameter (scale). 2) The b distribution parameter (scale). See also param gets or sets the distribution parameter object (

std::extreme_value_distribution

Defined in header <random> template< class RealType = double > class extreme_value_distribution; (since C++11) Produces random numbers according to the extreme value distribution (it is also known as Gumbel Type I, log-Weibull, Fisher-Tippett Type I): p(x;a,b) = 1b exp⎛⎜⎝ a-xb - exp⎛⎜⎝ a-xb ⎞⎟⎠⎞⎟⎠ std::extreme_value_distribution satisfies all requirements of RandomNumberDistribution. Template parameters RealType - The result type generated by the gene