|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ss.formula.functions.Fixed2ArgFunction
org.apache.poi.ss.formula.functions.LinearRegressionFunction
public final class LinearRegressionFunction
Base class for linear regression functions.
Calculates the linear regression line that is used to predict y values from x values
(http://introcs.cs.princeton.edu/java/97data/LinearRegression.java.html)
Syntax:
INTERCEPT(arrayX, arrayY)
or SLOPE(arrayX, arrayY)
| Nested Class Summary | |
|---|---|
static class |
LinearRegressionFunction.FUNCTION
|
| Field Summary | |
|---|---|
LinearRegressionFunction.FUNCTION |
function
|
| Constructor Summary | |
|---|---|
LinearRegressionFunction(LinearRegressionFunction.FUNCTION function)
|
|
| Method Summary | |
|---|---|
ValueEval |
evaluate(int srcRowIndex,
int srcColumnIndex,
ValueEval arg0,
ValueEval arg1)
see Function.evaluate(ValueEval[], int, int) |
| Methods inherited from class org.apache.poi.ss.formula.functions.Fixed2ArgFunction |
|---|
evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public LinearRegressionFunction.FUNCTION function
| Constructor Detail |
|---|
public LinearRegressionFunction(LinearRegressionFunction.FUNCTION function)
| Method Detail |
|---|
public ValueEval evaluate(int srcRowIndex,
int srcColumnIndex,
ValueEval arg0,
ValueEval arg1)
Function2ArgFunction.evaluate(ValueEval[], int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||