
Jan. 24, 2024
3:21 p.m.
On Wed, 24 Jan 2024 at 19:29, Marten van Kerkwijk <mhvk@astro.utoronto.ca> wrote:
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.
If either argument is conjugated then I would not describe this simply as "multiplication". A different terminology would be better (and perhaps different function names). -- Oscar