Crate atools

Crate atools 

Source
Expand description

a collection of useful features for working with arrays

Modules§

pervasive
pervasive array operations.
prelude
The prelude. You should

Traits§

Array
Turn a tuple into a array. Implemented for N≤32
ArrayTools
Array tools.
Chunked
🍪
CollectArray
Collect an iterator into a array.
Couple
Couple two arrays together.
Deconstruct
Deconstruct some array. Use
Flatten
Flatten arrays.
Join
Join scalars together.
Slice
Slicing arrays up.
Split
Splitting arrays up.
Tuple
Turn a array into a tuple. Implemented for N≤32
Zip
Zip arrays together.

Functions§

range
Creates a array of indices.
splat
Convenience function for when clonage is required; prefer [T; N] if possible. Also useful if N should be inferred.