public class Spline
extends java.lang.Object
| Constructor and Description |
|---|
Spline(double[] xx,
double[] yy)
Creates a new Spline.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValues()
Used to check the correctness of this spline
|
double |
getDx(double x)
Returns the first derivation at x.
|
double |
getFastValue(double x)
Returns an interpolated value.
|
double |
getValue(double x)
Returns an interpolated value.
|
void |
setValues(double[] xx,
double[] yy)
Set values for this Spline.
|
void |
solve(double[][] A,
double[] b)
Solves Ax=b and stores the solution in b.
|
public Spline(double[] xx,
double[] yy)
xx - yy - public void setValues(double[] xx,
double[] yy)
xx - yy - public double getValue(double x)
x - public double getFastValue(double x)
x - public boolean checkValues()
public double getDx(double x)
x - public void solve(double[][] A,
double[] b)
Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.