Click or drag to resize

MaximumLengthSequenceGetSequenceT(T, T, UInt64) Method

Gets the sequence. The enumeration stops after yielding n values, with n being the sequence length.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public IEnumerable<T> GetSequence<T>(
	T logicalZero,
	T logicalOne,
	ulong startValue
)

Parameters

logicalZero  T
The value that is returned if the value of the binary sequence is logical zero.
logicalOne  T
The value that is returned if the value of the binary sequence is logical one.
startValue  UInt64
The initial value of the sequence. Normally, this value is initialized with the value of the sequence length. Here you can provide any other value that is non-zero when and-ing it with the sequence length.

Type Parameters

T
Designates the type of the members of the sequence.

Return Value

IEnumerableT
Values of the maximum length sequence, where a logical value of zero is mapped to the parameter logicalZero and a logical one is mapped to logicalOne.
See Also