operator==,!=(std::piecewise_linear_distribution)

来自cppreference.com

 
 
Numerics的圖書館
常見的數學函數
浮點環境
複數
數字陣列
偽隨機數生成
編譯時合理的演算法 (C++11)
通用的數值運算
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
偽隨機數生成
發動機和引擎適配器
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.
linear_congruential_engine(C++11)
mersenne_twister_engine(C++11)
subtract_with_carry_engine(C++11)
discard_block_engine(C++11)
independent_bits_engine(C++11)
shuffle_order_engine(C++11)
發電機
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
random_device(C++11)
分布
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
均勻分布
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.
uniform_int_distribution(C++11)
uniform_real_distribution(C++11)
generate_canonical(C++11)
伯努里分布
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.
bernoulli_distribution(C++11)
binomial_distribution(C++11)
negative_binomial_distribution(C++11)
geometric_distribution(C++11)
泊松分布
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.
poisson_distribution(C++11)
exponential_distribution(C++11)
gamma_distribution(C++11)
weibull_distribution(C++11)
extreme_value_distribution(C++11)
正態分布
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.
normal_distribution(C++11)
lognormal_distribution(C++11)
chi_squared_distribution(C++11)
cauchy_distribution(C++11)
fisher_f_distribution(C++11)
student_t_distribution(C++11)
抽樣分布
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.
discrete_distribution(C++11)
piecewise_constant_distribution(C++11)
piecewise_linear_distribution(C++11)
種子序列
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.
seed_seq(C++11)
C庫
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.
rand
srand
RAND_MAX
 
std::piecewise_linear_distribution
成員函數
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.
piecewise_linear_distribution::piecewise_linear_distribution
piecewise_linear_distribution::reset
Original:
Generation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
piecewise_linear_distribution::operator()
特性
Original:
Characteristics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
piecewise_linear_distribution::param
piecewise_linear_distribution::min
piecewise_linear_distribution::max
非成員函數
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!=
operator<<
operator>>
 
template< class ResultType >

bool operator==( const piecewise_linear_distribution<ResultType>& lhs,

             const piecewise_linear_distribution<ResultType>& rhs );
(1)
template< class ResultType >

bool operator!=( const piecewise_linear_distribution<ResultType>& lhs,

             const piecewise_linear_distribution<ResultType>& rhs );
(2)
比較兩個分布對象。兩種分配對象時,參數值和內部狀態是一樣的,都是平等的.
Original:
Compares two distribution objects. Two distribution objects are equal when parameter values and internal state is the same.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
比較兩個分布對象是否相等.
Original:
Compares two distribution objects for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
比較兩個分布不平等的對象.....
Original:
Compares two distribution objects for inequality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 參數

lhs, rhs -
分布要比較的對象
Original:
distribution objects to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 返回值

1)
true的分配對象是相等的,false其他方式
Original:
true if the distribution objects are equal, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
true的分配對象,如果不相等,false否則
Original:
true if the distribution objects are not equal, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 複雜性

恆定
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.