Pseudo-random numbers/PCG32: Difference between revisions
Content added Content deleted
Line 49: | Line 49: | ||
end do |
end do |
||
</pre> |
</pre> |
||
Note that this an anamorphism – dual to catamorphism, and encoded in some languages as a general higher-order `unfold` function. |
Note that this an anamorphism – dual to catamorphism, and encoded in some languages as a general higher-order `unfold` function, dual to `fold` or `reduce`. |
||
;Task: |
;Task: |