math
クラス CubicSplineIP

java.lang.Object
  上位を拡張 math.SequenceFunction
      上位を拡張 math.CubicSplineIP
すべての実装されたインタフェース:
DifferentiableFunction, Function

public class CubicSplineIP
extends SequenceFunction
implements DifferentiableFunction

3次スプライン補間クラス


フィールドの概要
 
クラス math.SequenceFunction から継承されたフィールド
functions, x
 
コンストラクタの概要
CubicSplineIP(int n, double[] x, double[] y)
          補間オブジェクトを構築する
CubicSplineIP(int n, java.awt.geom.Point2D[] p)
          補間オブジェクトを構築する
 
メソッドの概要
protected  Function[] getCoefficient(int n, double[] x, double[] y)
          係数を設定する
 Function getDerivative()
          導関数を返す
 
クラス math.SequenceFunction から継承されたメソッド
getValue
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース math.Function から継承されたメソッド
getValue
 

コンストラクタの詳細

CubicSplineIP

public CubicSplineIP(int n,
                     double[] x,
                     double[] y)
補間オブジェクトを構築する

パラメータ:
n - 母点の数
x - 母点の x 座標を格納した配列
y - 母点の y 座標を格納した配列

CubicSplineIP

public CubicSplineIP(int n,
                     java.awt.geom.Point2D[] p)
補間オブジェクトを構築する

パラメータ:
n - 母点の数
p - 母点を格納した配列
メソッドの詳細

getCoefficient

protected Function[] getCoefficient(int n,
                                    double[] x,
                                    double[] y)
係数を設定する

パラメータ:
n - 母点の数
x - 母点の x 座標を格納した配列
y - 母点の y 座標を格納した配列
戻り値:
補間関数の係数を格納した配列

getDerivative

public Function getDerivative()
導関数を返す

定義:
インタフェース DifferentiableFunction 内の getDerivative
戻り値:
導関数