LibreOffice: com/sun/star/chart2/XRegressionCurveCalculator.idl Source File

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
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
20module com
21{
22module sun
23{
24module star
25{
26module chart2
27{
28
29 interface XRegressionCurveCalculator : com::sun::star::uno::XInterface
30{
52 void setRegressionProperties( [in] long degree,
53 [in] boolean forceIntercept,
54 [in] double interceptValue,
55 [in] long period,
56 [in] long movingType);
57
69 void recalculateRegression( [in] sequence< double > aXValues,
70 [in] sequence< double > aYValues);
71
72
88 double getCurveValue( [in] double x )
89 raises( com::sun::star::lang::IllegalArgumentException );
90
119 sequence< com::sun::star::geometry::RealPoint2D > getCurveValues(
120 [in] double min,
121 [in] double max,
122 [in] long nPointCount,
123 [in] XScaling xScalingX,
124 [in] XScaling xScalingY,
125 [in] boolean bMaySkipPointsInCalculation )
126 raises( com::sun::star::lang::IllegalArgumentException );
127
140 double getCorrelationCoefficient();
141
151 string getRepresentation();
152
158 string getFormattedRepresentation( [in] com::sun::star::util::XNumberFormatsSupplier xNumFmtSupplier,
159 [in] long nNumberFormatKey,
160 [in] long nFormulaLength );
161
167 void setXYNames( [in] string aXName,
168 [in] string aYName );
169
170};
171
172} ; // chart2
173} ; // com
174} ; // sun
175} ; // star
176
177/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
com::sun::star::chart2::XRegressionCurveCalculator
Definition XRegressionCurveCalculator.idl:30
com::sun::star::chart2::XRegressionCurveCalculator::setXYNames
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.
com::sun::star::chart2::XRegressionCurveCalculator::getCurveValues
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.
com::sun::star::chart2::XRegressionCurveCalculator::getRepresentation
string getRepresentation()
Retrieve a string showing the regression curve's function with calculated parameters.
com::sun::star::chart2::XRegressionCurveCalculator::getCurveValue
double getCurveValue([in] double x)
calculates the value of the regression curve for x.
com::sun::star::chart2::XRegressionCurveCalculator::setRegressionProperties
void setRegressionProperties([in] long degree, [in] boolean forceIntercept, [in] double interceptValue, [in] long period, [in] long movingType)
set calculation properties for curve calculation.
com::sun::star::chart2::XRegressionCurveCalculator::recalculateRegression
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.
com::sun::star::chart2::XRegressionCurveCalculator::getFormattedRepresentation
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...
com::sun::star::chart2::XRegressionCurveCalculator::getCorrelationCoefficient
double getCorrelationCoefficient()
Returns the value of the correlation coefficient for the given regression.
com::sun::star::chart2::XScaling
Definition XScaling.idl:25
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com::sun::star::util::XNumberFormatsSupplier
supplies the collection of NumberFormats (for example, in a document) and the settings belonging to t...
Definition XNumberFormatsSupplier.idl:29
com
Definition Ambiguous.idl:20