(rontolisp) docs
← Functions

linalg:matmul

(linalg:matmul a b)

The matrix product of a and b (also matrix . vector). It behaves like linalg:dot but signals an error when either operand is a scalar, catching the mistake of writing a matrix product where an elementwise linalg:mul would silently apply. The inner dimensions must agree; a mismatch signals an error.