spiesik / addi

Automatically exported from code.google.com/p/addi
0 stars 0 forks source link

Simplest Matrix operation fails #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. a=[1 2 1;2 3 1;3 3 3]
2. b=[3;7;8]
3. a\b

What is the expected output? What do you see instead? Expected output is 
3.6667;0.3333;-1.3333. Instead I see "???a\b; ERROR: DoubleNumberToken:divide: 
dimensions don't match.

What version of the product are you using? On what operating system? Addi 
Version 1.98; Android version 4.4.2 on Samsung Galaxy Note 3.

Please provide any additional information below. size(a) yields 3.0000 3.0000. 
size(b) yields 3.0000 1.0000. Matlab, of course, yields the correct answer with 
identical input. Also, a^(-1) fails with "ERROR:DoubleNumberToken: 
mPower:[m*n]^scalar not implemented yet. Failure to solve a simple linear 
system such as this is not encouraging. This is literally the first thing I've 
tried with addi. Back to the drawing board...

Original issue reported on code.google.com by TIO54...@gmail.com on 17 Sep 2014 at 3:02