mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 16:43:07 +00:00
Fix reduce documentation
This commit is contained in:
parent
0f4b893d6d
commit
810c03f426
@ -8215,8 +8215,7 @@ test "vector @splat" {
|
||||
<pre>{#syntax#}@reduce(comptime op: builtin.ReduceOp, value: anytype) std.meta.Child(value){#endsyntax#}</pre>
|
||||
<p>
|
||||
Transforms a {#link|vector|Vectors#} into a scalar value by performing a
|
||||
sequential horizontal reduction of its elements using the specified
|
||||
specified operator {#syntax#}op{#endsyntax#}.
|
||||
sequential horizontal reduction of its elements using the specified operator {#syntax#}op{#endsyntax#}.
|
||||
</p>
|
||||
<p>
|
||||
Not every operator is available for every vector element type:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user