public class CubicSpline extends AbstractApproximation<Double>
Modifier and Type | Field and Description |
---|---|
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] |
a
Der erste Koeffizient des Polynoms.
|
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] |
b
Der zweite Koeffizient des Polynoms.
|
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] |
c
Der dritte Koeffizient des Polynoms.
|
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] |
d
Der vierte Koeffizient des Polynoms.
|
private long |
faktor
Faktor mit dem der Zeitstempel für das Rechnen verkleinert wird, um
numerische Fehler zu verkleinern, Standard: 1 Minute.
|
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] |
h
Die Abstände der Stützstellen.
|
Constructor and Description |
---|
CubicSpline() |
Modifier and Type | Method and Description |
---|---|
private Stuetzstelle<Double> |
berechneStuetzstelle(long zeitstempel)
Berechnet die Stützstelle.
|
Stuetzstelle<Double> |
get(long zeitstempel)
Gibt die Stützstelle zum angegebenen Zeitstempel zurück.
|
long |
getFaktor()
Gibt den Faktor mit dem der Zeitstempel für das Rechnen verkleinert wird
zurück.
|
void |
initialisiere()
Berechnet die Koeffizienten des zugrundeliegenden Polynoms.
|
double |
integral(com.bitctrl.util.Interval intervall)
Verwendet eine Polyline-Approximation des Splines zur näherungsweisen
Bestimmung des Integrals.
|
void |
setFaktor(long faktor)
Legt den Faktor mit dem der Zeitstempel für das Rechnen verkleinert wird
fest.
|
String |
toString() |
findeStuetzstelleNach, findeStuetzstelleVor, getIntegrationsintervall, getIntervall, getStuetzstellen, interpoliere, isValid, setIntegrationsintervall, setStuetzstellen
private long faktor
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] a
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] b
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] c
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] d
private de.bsvrz.sys.funclib.bitctrl.math.RationaleZahl[] h
public Stuetzstelle<Double> get(long zeitstempel)
zeitstempel
- Zeitstempelpublic void initialisiere()
public double integral(com.bitctrl.util.Interval intervall)
intervall
- ein Intervall.AbstractApproximation.setIntegrationsintervall(long)
private Stuetzstelle<Double> berechneStuetzstelle(long zeitstempel)
zeitstempel
- Zeitstempel der gesuchten Stützstellepublic long getFaktor()
setFaktor(long)
public void setFaktor(long faktor)
Hinweis: Wenn der Faktor geändert wird, muss anschließend
initialisiere()
aufgerufen werden, um die Änderung zu
übernehmen.
faktor
- the faktor to setCopyright © 2017 BitCtrl Systems GmbH. All rights reserved.