C# Class CircularBuffer

Mostra file Open project: ufcpp/UfcppSample Class Usage Examples

Public Methods

Method Description
CircularBuffer ( )
CircularBuffer ( int len )

バッファ長を指定して初期化

Clone ( ) : object
Insert ( double x ) : void

値の挿入

this ( int n ) : double

n サンプル前の値の取得

Method Details

CircularBuffer() public method

public CircularBuffer ( )

CircularBuffer() public method

バッファ長を指定して初期化
public CircularBuffer ( int len )
len int バッファ長

Clone() public method

public Clone ( ) : object
return object

Insert() public method

値の挿入
public Insert ( double x ) : void
x double 挿入したい値
return void

this() public method

n サンプル前の値の取得
public this ( int n ) : double
n int 何サンプル前の値を読み書きするか
return double