On M2 v1.13, I encounter the following error with the "solve" command:
i1 : A = matrix{{1_RR,1,1},{3,3,4},{2,2,4}}
o1 = | 1 1 1 |
| 3 3 4 |
| 2 2 4 |
3 3
o1 : Matrix RR <--- RR
53 53
i2 : b = matrix{{6_RR},{19},{14}}
o2 = | 6 |
| 19 |
| 14 |
3 1
o2 : Matrix RR <--- RR
53 53
i3 : solve(A, b)
stdio:3:1:(3): error: no method found for applying matrix to:
argument : null (of class Nothing)
i4 : b // A
stdio:4:3:(3): error: no method found for applying matrix to:
argument : null (of class Nothing)
The same error occurs on M2 v1.12 (I tried the web interface at habanero). However, trying the same commands on M2 v1.8.2 gives a (correct) answer of {1,4,1}. What is causing this bug? (Presumably the fact that the columns are not linearly dependent is relevant...)
Justin