std::chrono::duration::max

static constexpr duration max(); Returns a duration with the largest possible value. If the representation rep of the duration requires some other implementation to return a maximum-length duration, std::chrono::duration_values can be specialized to return the desired value. Parameters (none). Return value returns std::chrono::duration(std::chrono::duration_values<rep>::max()). See also zero [static] returns the special duration value zero (public static member func

std::chrono::duration::min

static constexpr duration min(); Returns a duration with the lowest possible value. If the representation rep of the duration requires some other implementation to return a minimum-length duration, std::chrono::duration_values can be specialized to return the desired value. Parameters (none). Return value returns std::chrono::duration(std::chrono::duration_values<rep>::min()). See also zero [static] returns the special duration value zero (public static member funct

std::chrono::duration::duration

constexpr duration() = default; (1) (since C++11) duration( const duration& ) = default; (2) (since C++11) template< class Rep2 > constexpr explicit duration( const Rep2& r ); (3) (since C++11) template< class Rep2, class Period2 > constexpr duration( const duration<Rep2,Period2>& d ); (4) (since C++11) Constructs a new duration from one of several optional data sources. 1) The default constructor is defaulted. 2) The copy constructor is

std::chrono::ceil(std::chrono::duration)

Defined in header <chrono> template <class ToDuration, class Rep, class Period> constexpr ToDuration ceil(const duration<Rep, Period>& d); (since C++17) Returns the smallest duration t representable in ToDuration that is greater or equal to d. The function does not participate in the overload resolution unless ToDuration is an instance of std::chrono::duration. Parameters d - duration to convert Return value d rounded up to a duration of type T

std::chrono::ceil(std::chrono::time_point)

Defined in header <chrono> template <class ToDuration, class Clock, class Duration> constexpr time_point<Clock, ToDuration> ceil(const time_point<Clock, Duration>& tp); (since C++17) Returns the smallest time point t representable in ToDuration that is greater or equal to tp. The function does not participate in the overload resolution unless ToDuration is an instance of std::chrono::duration. Parameters tp - time point to convert Return v

std::chrono::duration

Defined in header <chrono> template< class Rep, class Period = std::ratio<1> > class duration; (since C++11) Class template std::chrono::duration represents a time interval. It consists of a count of ticks of type Rep and a tick period, where the tick period is a compile-time rational constant representing the number of seconds from one tick to the next. The only data stored in a duration is a tick count of type Rep. If Rep is floating point, then the

std::chrono::abs(std::chrono::duration)

Defined in header <chrono> template <class Rep, class Period> constexpr duration<Rep, Period> abs(duration<Rep, Period> d) (since C++17) Returns the absolute value of the duration d. Specifically, if d >= d.zero(), return d, otherwise return -d. The function does not participate in the overload resolution unless std::numeric_limits<Rep>::is_signed is true. Parameters d - duration Return value Absolute value of d. Possible implement

std::chi_squared_distribution::chi_squared_distribution

explicit chi_squared_distribution( RealType n = 1.0 ); (1) (since C++11) explicit chi_squared_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses n as the distribution parameter, the second version uses params as the distribution parameter. Parameters n - the n distribution parameter (degrees of freedom) params - the distribution parameter set

std::chi_squared_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::chi_squared_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.