LibreOffice
LibreOffice 7.4 SDK API Reference
XRegressionCurveCalculator.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef com_sun_star_chart2_XRegressionCurveCalculator_idl
20#define com_sun_star_chart2_XRegressionCurveCalculator_idl
21
27
28module com
29{
30module sun
31{
32module star
33{
34module chart2
35{
36
38{
60 void setRegressionProperties( [in] long degree,
61 [in] boolean forceIntercept,
62 [in] double interceptValue,
63 [in] long period,
64 [in] long movingType);
65
77 void recalculateRegression( [in] sequence< double > aXValues,
78 [in] sequence< double > aYValues);
79
80
96 double getCurveValue( [in] double x )
98
127 sequence< com::sun::star::geometry::RealPoint2D > getCurveValues(
128 [in] double min,
129 [in] double max,
130 [in] long nPointCount,
131 [in] XScaling xScalingX,
132 [in] XScaling xScalingY,
133 [in] boolean bMaySkipPointsInCalculation )
135
149
160
167 [in] long nNumberFormatKey,
168 [in] long nFormulaLength );
169
175 void setXYNames( [in] string aXName,
176 [in] string aYName );
177
178};
179
180} ; // chart2
181} ; // com
182} ; // sun
183} ; // star
184
185#endif
186
187/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
Definition: XRegressionCurveCalculator.idl:38
void setXYNames([in] string aXName, [in] string aYName)
Set the names of X and Y variables of the equation to replace "x" and "f(x)" in representation.
sequence< com::sun::star::geometry::RealPoint2D > getCurveValues([in] double min, [in] double max, [in] long nPointCount, [in] XScaling xScalingX, [in] XScaling xScalingY, [in] boolean bMaySkipPointsInCalculation)
calculate multiple points of a regression curve at once.
string getRepresentation()
Retrieve a string showing the regression curve's function with calculated parameters.
double getCurveValue([in] double x)
calculates the value of the regression curve for x.
void setRegressionProperties([in] long degree, [in] boolean forceIntercept, [in] double interceptValue, [in] long period, [in] long movingType)
set calculation properties for curve calculation.
void recalculateRegression([in] sequence< double > aXValues, [in] sequence< double > aYValues)
recalculates the parameters of the internal regression curve according to the x- and y-values given.
string getFormattedRepresentation([in] com::sun::star::util::XNumberFormatsSupplier xNumFmtSupplier, [in] long nNumberFormatKey, [in] long nFormulaLength)
Returns a representation using the given number format for formatting all numbers contained in the fo...
double getCorrelationCoefficient()
Returns the value of the correlation coefficient for the given regression.
Definition: XScaling.idl:30
base interface of all UNO interfaces
Definition: XInterface.idl:48
supplies the collection of NumberFormats (for example, in a document) and the settings belonging to t...
Definition: XNumberFormatsSupplier.idl:37
Definition: Ambiguous.idl:22