Funkcje okresowe
[Podstawowa matematyka]


Funkcje

float common::WaveformSine (float x, float Base, float Amplitude, float Frequency, float Phase)
 Standard sine wave which smoothly changes from low to high and back again.
float common::WaveformSine (float x)
float common::WaveformTriangle (float x, float Base, float Amplitude, float Frequency, float Phase)
 An angular wave with a constant increase / decrease speed with pointed peaks.
float common::WaveformTriangle (float x)
float common::WaveformSquare (float x, float Base, float Amplitude, float Frequency, float Phase)
 Half of the time is spent at the min, half at the max with instant transition between.
float common::WaveformSquare (float x)
float common::WaveformSawtooth (float x, float Base, float Amplitude, float Frequency, float Phase)
 Gradual steady increase from min to max over the period with an instant return to min at the end.
float common::WaveformSawtooth (float x)
float common::WaveformInvSawtooth (float x, float Base, float Amplitude, float Frequency, float Phase)
 Gradual steady decrease from max to min over the period, with an instant return to max at the end.
float common::WaveformInvSawtooth (float x)
float common::WaveformPWM (float x, float DutyCycle, float Base, float Amplitude, float Frequency, float Phase)
 Pulse Width Modulation.
float common::WaveformPWM (float x, float DutyCycle)

Opis szczegółowy


Dokumentacja funkcji

float common::WaveformInvSawtooth ( float  x  )  [inline]

float common::WaveformInvSawtooth ( float  x,
float  Base,
float  Amplitude,
float  Frequency,
float  Phase 
) [inline]

Gradual steady decrease from max to min over the period, with an instant return to max at the end.

float common::WaveformPWM ( float  x,
float  DutyCycle 
) [inline]

float common::WaveformPWM ( float  x,
float  DutyCycle,
float  Base,
float  Amplitude,
float  Frequency,
float  Phase 
) [inline]

Pulse Width Modulation.

Works like square, except the high to low transition is controlled by duty cycle. With a duty cycle of 50% (0.5) will give the same output as square.

float common::WaveformSawtooth ( float  x  )  [inline]

float common::WaveformSawtooth ( float  x,
float  Base,
float  Amplitude,
float  Frequency,
float  Phase 
) [inline]

Gradual steady increase from min to max over the period with an instant return to min at the end.

float common::WaveformSine ( float  x  )  [inline]

float common::WaveformSine ( float  x,
float  Base,
float  Amplitude,
float  Frequency,
float  Phase 
) [inline]

Standard sine wave which smoothly changes from low to high and back again.

float common::WaveformSquare ( float  x  )  [inline]

float common::WaveformSquare ( float  x,
float  Base,
float  Amplitude,
float  Frequency,
float  Phase 
) [inline]

Half of the time is spent at the min, half at the max with instant transition between.

float common::WaveformTriangle ( float  x  )  [inline]

float common::WaveformTriangle ( float  x,
float  Base,
float  Amplitude,
float  Frequency,
float  Phase 
) [inline]

An angular wave with a constant increase / decrease speed with pointed peaks.


Wygenerowano Sat Mar 29 18:17:00 2008 dla CommonLib programem  doxygen 1.5.5