Expand description
Various simple utilities.
Modules§
Traits§
- Convenience methods for Vec.
Functions§
- Split an interator into small arrays and apply
func
to each. - Try to force Rust to emit a branch. Example:
- Converts a vector of one type to one of another type.
- Returns
[0, ..., N - 1]
. - Computes
ceil(log_2(n))
. - Computes
log_2(n)
- Return a String containing the name of T but with all the crate and module prefixes removed.
- Permutes
arr
such that each index is mapped to its reverse in binary.