← Back

Module indexing

fn gather[T; const N: u32](

Gather elements along an axis using integer indices.

Source: indexing.joule:20

fn take[T; const N: u32](

Take elements by flat indices (1D result).

Source: indexing.joule:29

fn scatter[T; const N: u32](

Scatter values into an array at given indices along an axis.

Source: indexing.joule:42

fn filter[T; const N: u32](

Filter elements by a boolean mask. Returns a rank-1 array of matching elements.

Source: indexing.joule:64

fn where_select[T; const N: u32](

Select elements from x or y based on condition.

Source: indexing.joule:77