On Thu, Dec 13, 2018 at 3:59 PM Peter Luschny <peter.lusc...@gmail.com> wrote: > > From Sage Quick Reference: Linear Algebra, Robert A. Beezer: > > Matrix Multiplication > u = vector(QQ, [1,2,3]), v = vector(QQ, [1,2]) > A = matrix(QQ, [[1,2,3],[4,5,6]]) > B = matrix(QQ, [[1,2],[3,4]]) > u*A, A*v, B*A, B^6, B^(-3) all possible > > ---- > However u*A or A*v give: > TypeError: unsupported operand parent(s) for *: 'Vector space > of dimension 3 over Rational Field' and 'Full MatrixSpace of > 2 by 3 dense matrices over Rational Field'
looks like a typo in Rob's Quick Reference to me. > > SageMath version 8.4, Release Date: 2018-10-17 > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.