Skip to content

dense_dot_vec

Module: strata.core • Kind: function
Source: strata/core/linalg.mojo

def dense_dot_vec[dtype: DType = DType.float64](
A: Matrix[dtype],
x: List[Scalar[dtype]],
bias: Scalar[dtype] = 0,
) -> List[Scalar[dtype]]
from strata.core import dense_dot_vec

Dense matrix-vector product: y = A @ x + bias.

Hardware-vectorized with SIMD registers, dual-row register tiling, and horizontal reduction.