|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jcurl.math.R1RNFunctionImpl
org.jcurl.math.R1R1Function
org.jcurl.math.Polynome
public class Polynome
Polynomes of n-th grade.
| Field Summary | |
|---|---|
(package private) double[] |
params
|
| Constructor Summary | |
|---|---|
Polynome(double[] params)
|
|
| Method Summary | |
|---|---|
double |
at(double x,
int c)
Compute the c'th derivative at x. |
(package private) static long |
fak(int a)
Compute a! |
(package private) static long |
fak(int high,
int low)
Compute high! |
static Polynome |
getPoly(double t0,
double x0,
double v0,
double a0)
Convenience method to get the "bewegungsgleichung" for a given initial state. |
static double[] |
getPolyParams(double t0,
double x0,
double v0,
double a0)
Convenience method to get the "bewegungsgleichung" for a given initial state. |
static double |
poly(double x,
double[] p)
Compute the polynome p at x. |
static double |
poly(double x,
int c,
double[] p)
Compute the c-th derivative of the polynome p at x. |
String |
toString()
|
static String |
toString(double[] poly)
|
| Methods inherited from class org.jcurl.math.R1R1Function |
|---|
at, at |
| Methods inherited from class org.jcurl.math.R1RNFunctionImpl |
|---|
at, at, dim |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final double[] params
| Constructor Detail |
|---|
public Polynome(double[] params)
| Method Detail |
|---|
static long fak(int a)
a!
a -
static long fak(int high,
int low)
high! / low!
high - low -
public static final Polynome getPoly(double t0,
double x0,
double v0,
double a0)
t0 - initial timex0 - initial locationv0 - initial speeda0 - constant acceleration
getPolyParams(double, double, double, double)
public static final double[] getPolyParams(double t0,
double x0,
double v0,
double a0)
t0 - initial timex0 - initial locationv0 - initial speeda0 - constant acceleration
public static double poly(double x,
double[] p)
x - p - polynome coefficients
p(x)poly(double, int, double[])
public static double poly(double x,
int c,
double[] p)
x - c - derivativep - polynome coefficients
d/dx^c p(x)public static String toString(double[] poly)
public double at(double x,
int c)
R1R1Functionx.
at in class R1R1Functionx - c -
poly(double, int, double[])public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||