tiny.simd.fillRandom
Defined in random.
Source
Source: lib/simd/src/random.zig:331
zig
pub fn fillRandom(comptime T: type, engine: *const AesCtrEngine, stream_id: u64, output: []T) void { var stream = RngStream.init(engine, stream_id); for (output) |*value| value.* = castRandom(T, stream.next());}Source: lib/simd/src/root.zig:514
zig
pub const fillRandom = random.fillRandom;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |