C# Class cadencii.apputil.CubicSpline

Inheritance: ICloneable, IDisposable
Show file Open project: cadencii/cadencii Class Usage Examples

Public Properties

Property Type Description
m_key double[]

Public Methods

Method Description
Clone ( ) : object
CubicSpline ( double x, double y ) : System

配列の形で与えられるデータ点から,3次のスプライン補間で用いる各区域のxの多項式の係数を計算します

Dispose ( ) : void
GetValue ( double x ) : double

Private Methods

Method Description
LUDecTDM ( int N, double a, double b, double c, double y, double &x ) : void

This subroutine solves system of linear equation(only for tridiagonal matrix system) by LU decompression method. Meanings of variables are defined below. ( a1 c1 0 ) ( x1 ) ( y1 ) ( b2 a2 c2 ) ( x2 ) ( y2 ) ( b3 a3 c3 ) ( x3 ) ( y3 ) ( ... ) ( ...) = ( ...) ( bN-1 aN-1 cN-1 ) (xN-1) (yN-1) ( 0 bN aN ) ( xN ) ( yN )

Method Details

Clone() public method

public Clone ( ) : object
return object

CubicSpline() public method

配列の形で与えられるデータ点から,3次のスプライン補間で用いる各区域のxの多項式の係数を計算します
public CubicSpline ( double x, double y ) : System
x double データ点のx座標を格納した配列
y double データ点のy座標を格納した配列
return System

Dispose() public method

public Dispose ( ) : void
return void

GetValue() public method

public GetValue ( double x ) : double
x double
return double

Property Details

m_key public property

public double[] m_key
return double[]