Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void UpdateFrequencies(Action<uint[]>)

Declaration

public void UpdateFrequencies(
    Action<uint[]> updater
)

Summary

Updates the frequencies of all symbols. Use this method to update a large number of frequencies. Use ArithmeticSymbolArrayContext.SetSymbolFrequency(int, uint) to update a small number of frequencies more efficiently.

Parameters

Action<uint[]>updater A method which receives the current array of symbol frequencies. This method can modify the array arbitrarily, but cannot replace it with an entirely new array. To change the length of the frequencies array, see ArithmeticSymbolArrayContext.UpdateFrequencies(Func<uint[], uint[]>).