本文整理汇总了C++中LinearLeastSquareFit类的典型用法代码示例。如果您正苦于以下问题:C++ LinearLeastSquareFit类的具体用法?C++ LinearLeastSquareFit怎么用?C++ LinearLeastSquareFit使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了LinearLeastSquareFit类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: initial_pause_young_slope
float initial_pause_young_slope() {
return _initial_pause_young_estimator->slope();
}
示例2: remark_pause_young_slope
float remark_pause_young_slope() {
return _remark_pause_young_estimator->slope();
}
示例3: initial_pause_old_slope
float initial_pause_old_slope() {
return _initial_pause_old_estimator->slope();
}
示例4: remark_pause_old_slope
// These *slope() methods return the slope
// m for the linear fit of an independent
// variable vs. a dependent variable. For
// example
// remark_pause = m * old_generation_size + c
// These may be used to determine if an
// adjustment should be made to achieve a goal.
// For example, if remark_pause_old_slope() is
// positive, a reduction of the old generation
// size has on average resulted in the reduction
// of the remark pause.
float remark_pause_old_slope() {
return _remark_pause_old_estimator->slope();
}
示例5: major_collection_slope
float major_collection_slope() { return _major_collection_estimator->slope();}