|
LibreOffice Module chart2 (master) 1
|
Classes | |
| class | isValid |
| class | isValidAndBothPositive |
| class | isValidAndXPositive |
| class | isValidAndXPositiveAndYNegative |
| class | isValidAndYNegative |
| class | isValidAndYPositive |
Typedefs | |
| typedef std::pair< std::vector< double >, std::vector< double > > | tDoubleVectorPair |
Functions | |
| template<class Pred > | |
| tDoubleVectorPair | cleanup (const css::uno::Sequence< double > &rXValues, const css::uno::Sequence< double > &rYValues, Pred aPred) |
| takes the given x- and y-values and copies them into the resulting pair, which contains x-values in the first element and the y-values in the second one. More... | |
| typedef std::pair< std::vector< double >, std::vector< double > > chart::RegressionCalculationHelper::tDoubleVectorPair |
Definition at line 30 of file RegressionCalculationHelper.hxx.
| tDoubleVectorPair chart::RegressionCalculationHelper::cleanup | ( | const css::uno::Sequence< double > & | rXValues, |
| const css::uno::Sequence< double > & | rYValues, | ||
| Pred | aPred | ||
| ) |
takes the given x- and y-values and copies them into the resulting pair, which contains x-values in the first element and the y-values in the second one.
All tuples for which aPred is false are not copied.
The function below provide a set of useful predicates that can be used to pass as parameter aPred.
Definition at line 41 of file RegressionCalculationHelper.hxx.
References i.
Referenced by chart::ObjectPropertiesDialogParameter::init(), chart::ExponentialRegressionCurveCalculator::recalculateRegression(), chart::LogarithmicRegressionCurveCalculator::recalculateRegression(), chart::MovingAverageRegressionCurveCalculator::recalculateRegression(), chart::PolynomialRegressionCurveCalculator::recalculateRegression(), and chart::PotentialRegressionCurveCalculator::recalculateRegression().