std::exponential_distribution<RealType>::operator()
来自cppreference.com
                    
                                        
                    < cpp | numeric | random | exponential distribution
                    
                                                            
                    
|   template< class Generator > result_type operator()( Generator& g );  | 
(1) | (C++11 起) | 
|   template< class Generator > result_type operator()( Generator& g, const param_type& params );  | 
(2) | (C++11 起) | 
根据关联的概率分布函数生成随机数。由调用 g.operator() 获得熵。
第一版本使用关联的参数集,第二版本用 params 。不修改关联参数集。
参数
| g | - | 均匀随机位生成器对象 | 
| params | - | 用于替代被关联者的分布参数集 | 
| 类型要求 | ||
 -Generator 必须满足均匀随机位生成器 (UniformRandomBitGenerator)  的要求。
 | ||
返回值
生成的随机数。
复杂度
均摊常数次调用 g.operator() 。