std::uniform_real_distribution::a

result_type a() const; (1) (since C++11) result_type b() const; (2) (since C++11) Returns the parameters the distribution has been constructed with. 1) Returns the a distribution parameter. It defines the minimum possibly generated value. The default value is 0.0. 2) Returns the b distribution parameter. It defines the maximum possibly generated value. The default value is 1.0 Parameters (none). Return value 1) The a distribution parameter. 2) The b distribution paramet

Common mathematical functions

Functions Defined in header <cstdlib> abs(int)labsllabs (C++11) computes absolute value of an integral value (|x|) (function) div(int)ldivlldiv (C++11) computes quotient and remainder of integer division (function) Defined in header <cinttypes> abs(std::intmax_t)imaxabs (C++11)(C++11) computes absolute value of an integral value (|x|) (function) div(std::intmax_t)imaxdiv (C++11)(C++11) computes quotient and remainder of integer division (function)

operators (std::linear_congruential_engine)

template< class UIntType, UIntType a, UIntType c, UIntType m > bool operator==( const linear_congruential_engine<UIntType,a,c,m>& lhs, const linear_congruential_engine<UIntType,a,c,m>& rhs ); (1) (since C++11) template< class UIntType, UIntType a, UIntType c, UIntType m > bool operator==( const linear_congruential_engine<UIntType,a,c,m>& lhs, const linear_congruential_engine<UIntType,a,c,m>& rhs ); (2

std::atan2

Defined in header <cmath> float atan2( float y, float x ); (1) double atan2( double y, double x ); (2) long double atan2( long double y, long double x ); (3) Promoted atan2( Arithmetic1 y, Arithmetic2 x ); (4) (since C++11) Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant. 4) A set of overloads or a function template for all combinations of arguments of arithmetic type not covered by 1-3). If any

std::unordered_map::erase

iterator erase( const_iterator pos ); (1) (since C++11) iterator erase( const_iterator first, const_iterator last ); (2) (since C++11) size_type erase( const key_type& key ); (3) (since C++11) Removes specified elements from the container. 1) Removes the element at pos. 2) Removes the elements in the range [first; last), which must be a valid range in *this. 3) Removes the element (if one exists) with the key equivalent to key. References and iterators to the erased e

operators (std::valarray)

Defined in header <valarray> template <class T> std::valarray<T> operator+ (const std::valarray<T>& lhs, const std::valarray<T>& rhs); template <class T> std::valarray<T> operator- (const std::valarray<T>& lhs, const std::valarray<T>& rhs); template <class T> std::valarray<T> operator* (const std::valarray<T>& lhs, const std::valarray<T>& rhs); template <class T> std::valarray<

std::basic_string::basic_string

(1) explicit basic_string( const Allocator& alloc = Allocator() ); (until C++14) basic_string() : basic_string( Allocator() ) {} explicit basic_string( const Allocator& alloc ); (since C++14) basic_string( size_type count, CharT ch, const Allocator& alloc = Allocator() ); (2) basic_string( const basic_string& other, size_type pos, size_type count = std::basic_string::npos, const Allocato

valarray

This header is part of the numeric library. Classes valarray numeric arrays and array slices (class template) slice BLAS-like slice of a valarray: starting index, length, stride (class) slice_array proxy to a subset of a valarray after applying a slice (class template) gslice generalized slice of a valarray: starting index, set of lengths, set of strides (class) gslice_array proxy to a subset of a valarray after applying a gslice (class template) mask_array proxy

std::sqrt(std::valarray)

Defined in header <valarray> template< class T > valarray<T> sqrt( const valarray<T>& va ); For each element in va computes the square root of the value of the element. Parameters va - value array to apply the operation to Return value Value array containing square roots of the values in va. Notes Unqualified function (sqrt) is used to perform the computation. If such function is not available, std::sqrt is used due to argument depende

std::end

Defined in header <iterator> template< class C > auto end( C& c ) -> decltype(c.end()); (1) (since C++11) template< class C > auto end( const C& c ) -> decltype(c.end()); (1) (since C++11) (2) template< class T, std::size_t N > T* end( T (&array)[N] ); (since C++11) (until C++14) template< class T, std::size_t N > constexpr T* end( T (&array)[N] ); (since C++14) template< class C > constexpr auto cend