fn repeat(comptime len: usize, vec: anytype) @Vector(len, field_call)
[src]
Returns a vector containing the same elements as the input, but repeated until the desired length is reached. For example, repeat(8, [_]u32{1, 2, 3})
will return a vector containing .{1, 2, 3, 1, 2, 3, 1, 2}
.