Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: ArithmeticSymbolArrayContext(int, Func<int, uint>)

Declaration

public ArithmeticSymbolArrayContext(
    int length,
    Func<int, uint> initializer = null
)

Summary

Initializes a new instance of ArithmeticSymbolArrayContext.

Parameters

intlength How many symbols to keep track of. Valid symbols are in the range of 0 .. length. All symbols outside of this range have a frequency of 0.
Func<int, uint>initializer A function which returns the initial value for each symbol's frequency. Optional; if omitted, every symbol starts with a frequency of 1.