Implementation - 2023.1 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.1 English

There are 3 classes including XoShiRo128Plus, XoShiRo128PlusPlus, and XoShiRo128StarStar. Their implementation are similar. The only difference is in the private function rotl. In the pseudorandom number generation process, the seed needs to be initialized first by function init to determine the randomness of the output sequence. The function next can output random number with ii = 1.

Because the implementation is very common and very simple, it is not elaborated here. For more details, please see its source code and annotations.