ArrayRandomSelection Op

ArrayRandomSelection

Extract a definable amount of values from an array


<p>Setting elements to 5 on an array with 60 values will extract random 5 values from the array. Seed changes which numbers are extracted.</p>


Full Name
  • Ops.Array.ArrayRandomSelection
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


Array (Array)

<p>The array in to extract random values from</p>

Elements (Number:

<i>integer</i>

)

<p>Amount of elements to extract</p>

Seed (Number)

<p>Random number seed. 0 is always different on a reload. Set to a number to keep a fixed seed.</p>

OUTPUT PORTS


Result (Array)

<p>Array Out</p>

Array length (Number)

Patches using ArrayRandomSelection

  • Examples
  • Public
  • My Patches