Click or drag to resize

MaximumLengthSequence Class

Represents a maximum length sequence (MLS).
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.ProbabilityMaximumLengthSequence

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class MaximumLengthSequence

The MaximumLengthSequence type exposes the following members.

Properties
 NameDescription
Public propertyLength Gets the length of the sequence as an Int32.
Public propertyLongLength Gets the length of the sequence (repeat period).
Public propertyNumberOfStages Gets the number of stages.
Public propertyTapValue Gets or sets the tap value.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFromMinimumSequenceLength(Int32) Constructs a new instance of the MaximumLengthSequence class with a minimum length given by the argument.
Public methodStatic memberFromMinimumSequenceLength(UInt64) Constructs a new instance of the MaximumLengthSequence class with a minimum length given by the argument.
Public methodStatic memberFromNumberOfStages Constructs a new instance of the MaximumLengthSequence class from the number of stages (bits, flip-flops).
Public methodStatic memberFromTapValue Constructs a new instance of the MaximumLengthSequence class from a tap value.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInfiniteSequenceT(T, T) Gets the sequence.
Public methodGetInfiniteSequenceT(T, T, UInt64) Gets the sequence.
Public methodStatic memberGetInfiniteSequence32T Gets the sequence.
Public methodStatic memberGetInfiniteSequence64T Gets the sequence.
Public methodGetSequenceT(T, T) Gets the sequence. The enumeration stops after yielding n values, where n is the sequence length.
Public methodGetSequenceT(T, T, UInt64) Gets the sequence. The enumeration stops after yielding n values, where n is the sequence length.
Public methodStatic memberGetSequence32T Gets the sequence. The enumeration stops after yielding n values, where n is the sequence length.
Public methodStatic memberGetSequence64T Gets the sequence. The enumeration stops after yielding n values, where n is the sequence length.
Public methodStatic memberGetSequenceLengthFromMinimumSequenceLength(Int32) Gets the next possible sequence length that is greater than or equal to the provided sequenceLength.
Public methodStatic memberGetSequenceLengthFromMinimumSequenceLength(UInt64) Gets the next possible sequence length that is greater than or equal to the provided sequenceLength.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberTapValues Tap values for sequence lengths of 2^2 - 1 ... 2^64 - 1.
Top
Remarks
Maximum length sequences have a repeat period of 2^k - 1, with k being an integer value (k = 2..64). This class allows generation of sequences with a length of 2^2 - 1 up to 2^64 - 1.
See Also