Click or drag to resize

GenerateSawtoothSequence Method

Create an infinite periodic sawtooth wave sequence, starting with the lowest sample.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IEnumerable<double> SawtoothSequence(
	int period,
	double lowValue,
	double highValue,
	int delay = 0
)

Parameters

period  Int32
Number of samples a full sawtooth period.
lowValue  Double
Lowest sample value.
highValue  Double
Highest sample value.
delay  Int32  (Optional)
Optional delay.

Return Value

IEnumerableDouble
The sawtooth-wave sample sequence.
See Also