Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void UpdateFrequencies(Func<uint[], uint[]>)

Declaration

public void UpdateFrequencies(
    Func<uint[], 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

Func<uint[], uint[]>updater A function which receives the current array of symbol frequencies. This function can modify the array arbitrarily and return it, or construct and return an entirely different array.