tiny.simd.modeArray
Defined in robust.
Source
Source: lib/simd/src/robust.zig:104
zig
pub fn modeArray(values: anytype) arrayElement(@TypeOf(values)) { const T = arrayElement(@TypeOf(values)); const count = comptime arrayLength(@TypeOf(values)); comptime if (count == 0) @compileError("mode requires at least one value"); comptime requireArrayScratch(CountingSortEntry(T), count); var scratch: [count]CountingSortEntry(T) = undefined; return mode(T, values[0..], &scratch) catch unreachable;}Source: lib/simd/src/root.zig:552
zig
pub const modeArray = robust.modeArray;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |