40 const css::uno::Reference<css::util::XNumberFormatter>& xNumFormatter,
41 sal_Int32 nNumberFormatKey, sal_Int32* pFormulaMaxWidth =
nullptr )
const override;
48 const css::uno::Sequence<double>& aXValues,
49 const css::uno::Sequence<double>& aYValues )
override;
53 const sal_Int32 aNoValues,
PolynomialRegressionCurveCalculator()
virtual OUString ImplGetRepresentation(const css::uno::Reference< css::util::XNumberFormatter > &xNumFormatter, sal_Int32 nNumberFormatKey, sal_Int32 *pFormulaMaxWidth=nullptr) const override
std::vector< double > mCoefficients
virtual ~PolynomialRegressionCurveCalculator() override
void computeCorrelationCoefficient(RegressionCalculationHelper::tDoubleVectorPair &rValues, const sal_Int32 aNoValues, double yAverage)
virtual double SAL_CALL getCurveValue(double x) override
virtual void SAL_CALL recalculateRegression(const css::uno::Sequence< double > &aXValues, const css::uno::Sequence< double > &aYValues) override
std::pair< std::vector< double >, std::vector< double > > tDoubleVectorPair
std::pair< std::vector< double >, std::vector< double > > tDoubleVectorPair