tiny.simd.matVec
Defined in matvec.
Source
Source: lib/simd/src/matvec.zig:5
zig
pub fn compute( comptime D: type, matrix: []const D.Lane, vector: []const D.Lane, output: []D.Lane,) void { requireFloat(D.Lane); validateShape(matrix.len, vector.len, output.len); for (output, 0..) |*result, row| { const begin = row * vector.len; result.* = dot.compute(D, matrix[begin .. begin + vector.len], vector); }}Source: lib/simd/src/root.zig:499
zig
pub const matVec = matvec.compute;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |