std::not2

Defined in header <functional> template< class Predicate > std::binary_negate<Predicate> not2(const Predicate& pred); (until C++14) template< class Predicate > constexpr std::binary_negate<Predicate> not2(const Predicate& pred); (since C++14) not2 is a helper function to create a function object that returns the complement of the binary predicate function passed. The function object created is of type std::binary_negate<Predicate>

std::not1

Defined in header <functional> template< class Predicate > std::unary_negate<Predicate> not1(const Predicate& pred); (until C++14) template< class Predicate > constexpr std::unary_negate<Predicate> not1(const Predicate& pred); (since C++14) not1 is a helper function to create a function object that returns the complement of the unary predicate function passed. The function object created is of type std::unary_negate<Predicate>. Th

std::normal_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::normal_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::normal_distribution::normal_distribution

explicit normal_distribution( RealType mean = 0.0, RealType stddev = 1.0 ); (1) (since C++11) explicit normal_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses mean and stddev as the distribution parameters, the second version uses params as the distribution parameters. Parameters mean - the μ distribution parameter (mean) stddev - the σ distribution parameter (standard deviation) params -

std::normal_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::normal_distribution::mean

RealType mean() const; (1) (since C++11) RealType stddev() const; (2) (since C++11) Returns the parameters the distribution was constructed with. 1) Returns the mean μ distribution parameter. The mean specifies the location of the peak. The default value is 0.0. 2) Returns the deviation σ distribution parameter. The default value is 1.0. Parameters (none). Return value 1) The mean μ distribution parameter. 2) The deviation σ distribution parameter. See also param

std::normal_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::normal_distribution

Defined in header <random> template< class RealType = double > class normal_distribution; (since C++11) Generates random numbers according to the Normal (or Gaussian) random number distribution. It is defined as: f(x; μ,σ) = 1σ√2π exp⎛⎜⎝- 12 ⎛⎜⎝ x-μσ ⎞⎟⎠2⎞⎟⎠ Here μ is the mean and σ is the standard deviation (stddev). std::normal_distribution satisfies all requirements of RandomNumberDistribution. Template parameters RealType - The result type genera

std::norm(std::complex)

Defined in header <complex> template< class T > T norm( const complex<T>& z ); (1) long double norm( long double z ); (2) (since C++11) template< class DoubleOrInteger > double norm( DoubleOrInteger z ); (3) (since C++11) float norm( float z ); (4) (since C++11) Returns the squared magnitude of the complex number z. (since C++11)Additional overloads are provided for float, double, long double, and all integer types, which are treated