C# Class NWaves.Signals.Builders.SincBuilder

Class for a simple generator of a sinc-signal
Inheritance: NWaves.Signals.Builders.SignalBuilder
Exibir arquivo Open project: evgeniylevakhin/NWaves

Public Methods

Method Description
NextSample ( ) : float

Generates new sample.

Reset ( ) : void

Resets sample generator.

SincBuilder ( ) : NWaves.Signals.Builders.Base

Constructs SincBuilder.

Protected Methods

Method Description
Generate ( ) : DiscreteSignal

Generates signal by generating all its samples one-by-one. Frequency must be greater than zero.

Method Details

Generate() protected method

Generates signal by generating all its samples one-by-one. Frequency must be greater than zero.
protected Generate ( ) : DiscreteSignal
return DiscreteSignal

NextSample() public method

Generates new sample.
public NextSample ( ) : float
return float

Reset() public method

Resets sample generator.
public Reset ( ) : void
return void

SincBuilder() public method

Constructs SincBuilder.
public SincBuilder ( ) : NWaves.Signals.Builders.Base
return NWaves.Signals.Builders.Base