Question: A Maple 2015 bug

This is a report of  Maple_2015's bug, apparently fixed in more recent versions, but which may have persisted for a few versions beyond 2015.
I don't think it's necessary to fill out an RCS form.

Receiving the errors below is correct for the quantity  (I should behave written  R = A+ . B . A).
The bug is that there is no more error if A is a float vector and B a float matrix.

restart

kernelopts(version)

`Maple 2015.2, APPLE UNIVERSAL OSX, Dec 20 2015, Build ID 1097895`

(1)

A := Vector(2, symbol=a):
B := Matrix(2$2, symbol=b):
R := A.B.A^+

Error, (in LinearAlgebra:-Multiply) cannot multiply a column Vector and a Matrix

 

A := Vector(2, i -> i):
B := Matrix(2$2, (i, j) -> i+j):
R := A.B.A^+

Error, (in LinearAlgebra:-Multiply) cannot multiply a column Vector and a Matrix

 

A := evalf(Vector(2, i -> i)):
B := evalf(Matrix(2$2, (i, j) -> i+j)):
R := A.B.A^+

30.

(2)

R := A^+.B.A

30.

(3)
 

 

Download Maple_2015_Bug.mw

Please Wait...