C# Class SoundLibrary.Filter.CircularBuffer

循環バッファ
Inheritance: IEnumerable
Mostra file Open project: ufcpp/UfcppSample Class Usage Examples

Public Methods

Method Description
CircularBuffer ( int len ) : System

循環バッファコンストラクタ。

GetEnumerator ( ) : IEnumerator

this.buff の列挙子を返す。

PushBack ( double x ) : void

循環バッファの末尾に値を挿入。

PushFront ( double x ) : void

循環バッファの先頭に値を挿入。

Resize ( int length ) : void

循環バッファの長さを変更する。

this ( int n ) : double

循環バッファ内の要素のアクセス。

Method Details

CircularBuffer() public method

循環バッファコンストラクタ。
public CircularBuffer ( int len ) : System
len int 循環バッファの長さ。
return System

GetEnumerator() public method

this.buff の列挙子を返す。
public GetEnumerator ( ) : IEnumerator
return IEnumerator

PushBack() public method

循環バッファの末尾に値を挿入。
public PushBack ( double x ) : void
x double 挿入する値。
return void

PushFront() public method

循環バッファの先頭に値を挿入。
public PushFront ( double x ) : void
x double 挿入する値。
return void

Resize() public method

循環バッファの長さを変更する。
public Resize ( int length ) : void
length int 新しい長さ
return void

this() public method

循環バッファ内の要素のアクセス。
public this ( int n ) : double
n int
return double