Simstim

VEX Dictionary / select

select

Chooses between two values based on a condition, but evaluates both branches first to help vectorize the surrounding code.

group: utilityutility

Available in every context

Usage

<type> select(int conditional, <type> a, <type> b)
<type>[] select(int conditional, <type> a[], <type> b[])

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗