|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steema.teechart.functions.Polynom
public class Polynom
Title: Polynom class
Description:
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Field Summary | |
|---|---|
static int |
maxDegree
|
double[] |
polyCoeff
|
| Constructor Summary | |
|---|---|
Polynom()
|
|
| Method Summary | |
|---|---|
int |
getPolyDegree()
The number of degrees a polynomy will have. |
double |
polyEval(double x)
Evaluate function by using polyDegree polynomial with polyCoeff at value x. |
void |
polyFit(int numPoints,
double[] x,
double[] y)
Calculate the polynomial fit |
void |
setPolyDegree(int value)
Sets the number of degrees a polynomy will have. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int maxDegree
public double[] polyCoeff
| Constructor Detail |
|---|
public Polynom()
| Method Detail |
|---|
public int getPolyDegree()
public void setPolyDegree(int value)
value - int
public void polyFit(int numPoints,
double[] x,
double[] y)
numPoints - int is the number of points to fitx - double[] x valuesy - double[] y valuespublic double polyEval(double x)
x - double
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||