Operations

Construction, arithmetic, reductions, and bitwise operations

The core operations available on magetypes vectors. All examples use the generic pattern — a function bounded by the appropriate backend trait. See Getting Started if you need setup help.

  1. Construction & Extractionfrom_array, splat, zero, load, to_array, store, extract
  2. Arithmetic & Comparisons — Operators, FMA, comparisons, blend, min/max, abs
  3. Reductionsreduce_add, reduce_max, reduce_min
  4. Integer & Bitwise — Bitwise operators, shifts, cross-platform portability notes