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::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

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::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

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

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)

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

std::shared_future::wait

void wait() const; (since C++11) Blocks until the result becomes available. valid() == true after the call. The behavior is undefined if valid()== false before the call to this function. Parameters (none). Return value (none). Exceptions (none). Notes The implementations are encouraged to detect the case when valid == false before the call and throw a std::future_error with an error condition of std::future_errc::no_state. Calling wait on the same std::shared_future from mul

std::unordered_multimap::max_size

size_type max_size() const; (since C++11) Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the largest container. Parameters (none). Return value Maximum number of elements. Exceptions noexcept specification: noexcept Complexity Constant. Notes This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the theoretical limit on t