本文整理汇总了C++中ParameterMap::add方法的典型用法代码示例。如果您正苦于以下问题:C++ ParameterMap::add方法的具体用法?C++ ParameterMap::add怎么用?C++ ParameterMap::add使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ParameterMap
的用法示例。
在下文中一共展示了ParameterMap::add方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: pow
ex get_M_0_sq_ob_Xpression(ParameterMap &pm,bool withFS){
static ex xi_0 = M0_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_M0 = gtilde1( sqrt( M0_sq ) * L );
static ex log_M0_L3 = log( M0_sq / pow( Lambda3 , 2 ) ) ;
static ex xi_pm = Mpm_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_Mpm = gtilde1( sqrt( Mpm_sq ) * L );
static ex log_Mpm_L3 = log( Mpm_sq / pow( Lambda3 , 2 ) ) ;
static ex log_M0_X3 = log( M0_sq / pow( Xi3 , 2 ) ) ;
static ex X_FSE = Mpm_sq * ( 1. +2.*xi_pm * ( log_Mpm_L3 + fse_log_corr_Mpm ) - xi_0 * ( log_M0_L3 + fse_log_corr_M0 ))
+ 2 * c2 *( 1 - 4. * xi_0 * ( log_M0_X3 + fse_log_corr_M0) + CM0);
static ex X = Mpm_sq * ( 1. +2.*xi_pm * log_Mpm_L3 - xi_0 * log_M0_L3 )
+ 2 * c2 *( 1 - 4. * xi_0 * log_M0_X3 + CM0);
pm.add( B );
pm.add( f );
pm.add( c2 );
pm.add( Lambda3 );
pm.add( Xi3 );
pm.add( CM0 );
if( withFS )
return X_FSE;
else
return X;
}
示例2: get_M_pm_sq_ob_FSE_Xpression
ex get_M_pm_sq_ob_FSE_Xpression(ParameterMap & pm ){
static ex X_FSE = Mpm_sq * M0_sq / pow( 4. * Pi * f , 2 ) * gtilde1( sqrt( M0_sq ) * L ) ;
pm.add( B );
pm.add( f );
pm.add( c2 );
return X_FSE;
}
示例3: get_f_pm_ob_FSE_Xpression
ex get_f_pm_ob_FSE_Xpression(ParameterMap & pm ){
static ex xi_pm = Mpm_sq/ pow( 4. * Pi * f , 2 );
static ex xi_0 = M0_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_Mpm = gtilde1( sqrt( Mpm_sq ) * L );
static ex fse_log_corr_M0 = gtilde1( sqrt( M0_sq ) * L );
static ex X_FSE = f * ( - ( xi_pm * fse_log_corr_Mpm + xi_0 * fse_log_corr_M0 ) ) ;
pm.add( B );
pm.add( f );
pm.add( c2 );
return X_FSE;
}
示例4: pow
ex get_M_0_sq_ob_FSE_Xpression(ParameterMap & pm ){
static ex xi_0 = M0_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_M0 = gtilde1( sqrt( M0_sq ) * L );
static ex xi_pm = Mpm_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_Mpm = gtilde1( sqrt( Mpm_sq ) * L );
static ex X_FSE = Mpm_sq * ( 2.*xi_pm * fse_log_corr_Mpm - xi_0 * fse_log_corr_M0 )
+ 2 * c2 *( - 4. * xi_0 * fse_log_corr_M0 );
pm.add( B );
pm.add( f );
pm.add( c2 );
return X_FSE;
}
示例5: get_M_pm_sq_ob_Xpression
ex get_M_pm_sq_ob_Xpression(ParameterMap & pm , bool withFS /* =true */ ){
static ex xi_0 = M0_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_M0 = gtilde1( sqrt( M0_sq ) * L );
static ex log_M0_L3 = log( M0_sq / pow( Lambda3 , 2 ) ) ;
static ex X_FSE = ( Mpm_sq * ( 1. + xi_0 * ( log_M0_L3 + fse_log_corr_M0 )+ CMpm ) ) ;
static ex X = ( Mpm_sq * ( 1. + xi_0 * log_M0_L3 + CMpm ) ) ;
pm.add( B );
pm.add( f );
pm.add( c2 );
pm.add( Lambda3 );
pm.add( CMpm );
if(withFS)
return X_FSE;
else
return X;
}
示例6: get_f_pm_ob_Xpression
ex get_f_pm_ob_Xpression(ParameterMap &pm,bool withFS){
static ex xi_pm = Mpm_sq/ pow( 4. * Pi * f , 2 );
static ex xi_0 = M0_sq/ pow( 4. * Pi * f , 2 );
static ex fse_log_corr_Mpm = gtilde1( sqrt( Mpm_sq ) * L );
static ex fse_log_corr_M0 = gtilde1( sqrt( M0_sq ) * L );
static ex log_M0_L4 = log( M0_sq / pow( Lambda4 , 2 ) );
static ex log_Mpm_L4 = log( Mpm_sq / pow( Lambda4 , 2 ) );
static ex X_FSE = f * ( 1. - ( xi_pm * ( log_Mpm_L4 + fse_log_corr_Mpm ) + xi_0 * ( log_M0_L4 + fse_log_corr_M0 ) ) + Cf ) ;
static ex X = f * ( 1. - ( xi_pm * log_Mpm_L4 + xi_0 * log_M0_L4 ) + Cf ) ;
pm.add( B );
pm.add( f );
pm.add( c2 );
pm.add( Lambda4 );
pm.add( Cf );
if( withFS )
return X_FSE;
else
return X;
}