24 Jan
2024
24 Jan
'24
7:26 p.m.
Why do these belong in NumPy? What is the broad field of application of these functions? And, does a more general concept underpin them?
Multiplication of a matrix with a vector is about as common as matrix with matrix or vector with vector, and not currently easy to do for stacks of vectors, so I think the case for matvec is similarly strong as that for matmul and vecdot. Arguably, vecmat is slightly less common, though completes the quad. -- Marten