Category: Math Kind: Operation Tags: Cull Description: Randomly remove a number of elements from a list
<aside> 💡
Random numbers generated by computers are not truly random, but rather pseudo-random. They are produced by algorithms that, while appearing random, are deterministic and predictable. This means the same algorithm will generate the same sequence of numbers if given the same starting conditions.
In random number generation, a seed is a starting number used to initialize a random number generator (RNG). It's essentially a point within a predetermined sequence of "random" numbers where the generator starts producing values.
</aside>
Name | Abbreviation | Type | Access | Description |
---|---|---|---|---|
List | L | Any | List | The list to reduce |
Number | N | Number | Item | The number of elements to remove |
Seed | S | Number | Item | The seed for the random generator |
Name | Abbreviation | Type | Access | Description |
---|---|---|---|---|
Reduced | R | Any | List | The reduced list |
Feed in a list
Feed in a number of items to cull from the list
Feed in a number for the seed
The result is the list with the number of items randomly removed
<aside> 💡
The random list item is selected by the node producing a random integer, representing the index in the list on the item.
</aside>