Espacios de nombres
Variantes
Acciones

Diferencia entre revisiones de «cpp/numeric/random/exponential distribution/operator cmp»

De cppreference.com
(Translated from the English version using Google Translate)
 
m (1 revisión: Translate from the English version)

Revisión de 11:41 25 oct 2012

 
 
 
Generación de números pseudoaleatorios
Motores y adaptadores de motor
Original:
Engines and engine adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Generadores
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones uniformes
Original:
Uniform distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bernoulli distribuciones
Original:
Bernoulli distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Poisson distribuciones
Original:
Poisson distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones normales
Original:
Normal distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones de muestreo
Original:
Sampling distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Secuencias de semillas
Original:
Seed Sequences
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
C biblioteca
Original:
C library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::exponential_distribution
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Generación
Original:
Generation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Características
Original:
Characteristics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator==operator!=
 
friend bool operator==( const exponential_distribution& lhs,
                        const exponential_distribution& rhs );
(1) (desde C++11)
friend bool operator!=( const exponential_distribution& lhs,
                        const exponential_distribution& rhs );
(2) (desde C++11)
(hasta C++20)

Compara dos objetos de distribución. Dos objetos de distribución son iguales cuando los valores de los parámetros y el estado interno son iguales.

1) Compara dos objetos de distribución para igualdad.

2) Compara dos objetos de distribución para desigualdad.

Estas funciones no son visibles a una búsqueda no calificada o calificada, y pueden encontrarse solamente mediante la búsqueda dependiente de argumento cuando std::exponential_distribution<ResultType> es una clase asociada de los argumentos.

El operador != se sintetiza a partir de operator==.

(desde C++20)

Contenido

Parámetros

lhs, rhs - objetos de distribución a comparar

Valor de retorno

1) true si los objetos de distribución son iguales, false de lo contrario.
2) true si los objetos de distribución no son iguales, false de lo contrario.

Complejidad

Constante.


Reporte de defectos

Los siguientes informes de defectos de cambio de comportamiento se aplicaron de manera retroactiva a los estándares de C++ publicados anteriormente.

ID Aplicado a Comportamiento según lo publicado Comportamiento correcto
LWG 3519 C++11 the form of equality operators were unspecified
(could be hidden friends or free function templates)
specified to be hidden friends