spiesik / addi

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

Inability to preform matrix left division (A\B=x) #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Created a 5x5 to place coefficients (A)
2. Created a 5x1 Column vector of known resulting values
3. coded A\B to get the unknown variable values (x) in a 5x1 column vector  

What is the expected output? 
expected: a 5x1 vector with values

What do you see instead?
Addi throws an error: 
???cd <file location>; <file name>
"ERROR: DoubleNumber Token: divide: dimensions don't match"

checked code in GNU Octave, no problems running code

What version of the product are you using? On what operating system?
Addi 1.98,  Android OS: 4.0.3

Please provide any additional information below.

code being used is attached (line of code that throws the error in addi is 
Voltage_matrix=Resistance\Resulting_Voltages):

by using GNU Octave I end up with:

Node Voltages 
Voltage_matrix =

    1.4084
    9.3974
    9.3302
    7.0182
  -10.7258

Original issue reported on code.google.com by cybhunte...@gmail.com on 27 Jun 2012 at 9:31

Attachments:

GoogleCodeExporter commented 8 years ago
If you use the "experimental interpreter" from the settings->preferences menu, 
this should work fine.  The experimental interpreter is Octave (mostly) built 
for android

Original comment by corbi...@gmail.com on 28 Jun 2012 at 6:12