Hi everybody, 

I just started using SymPy, and tried to multiply a matrix M by a vector x 
holding sympy.symbols. 

I expected that M*x will be a vector again, but it is a matrix holding 
elements M_i,j*x_j. 

Is that the intended behavior or am I doing something wrong? I looked for 
another method I could use but found nothing adequate. Currently, I use 
np.sum(M*x, axis=1) to obtain the vector result, but this seems a little 
awkward.

Thanks already for any info on this! :)

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5dfb60ca-617f-429a-b23c-c59c67cc98c3n%40googlegroups.com.

Reply via email to