public class RootMeanSquare extends Function
Title: RootMeanSquare class
Description: Root Mean Square Function.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
chart, InternalUse
Constructor and Description |
---|
RootMeanSquare() |
RootMeanSquare(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
double |
calculate(Series s,
int firstIndex,
int lastIndex)
Performs function operation on SourceSeries series.
First and Last parameters are ValueIndex of first and last point used in calculation. |
double |
calculateMany(java.util.ArrayList sourceSeries,
int valueIndex)
Performs function operation on list of series (SourceSeriesList).
The ValueIndex parameter defines ValueIndex of point in each Series in list. |
boolean |
getComplete()
Defines the RMS formula.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
void |
setComplete(boolean value)
Defines the RMS formula.
|
addFunctionXY, addPoints, calculateAllPoints, calculateByPeriod, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public RootMeanSquare()
public RootMeanSquare(IBaseChart c)
public boolean getComplete()
public void setComplete(boolean value)
value
- booleangetComplete()
public double calculate(Series s, int firstIndex, int lastIndex)
public double calculateMany(java.util.ArrayList sourceSeries, int valueIndex)
calculateMany
in class Function
sourceSeries
- ArrayListvalueIndex
- intpublic java.lang.String getDescription()
getDescription
in class Function