linsolve - is this a bug

bazcor bazcor at metronet.co.uk
Sun Aug 14 13:14:33 CEST 2011


-->a=[1 3 2;2 1 -1;5 2 1];b=[2;3;4]

-->inv(a)*b
 ans  =
 
    0.55  
    1.05  
  - 0.85  //correct result


-->linsolve(a,b)
 ans  =
 
  - 0.55  
  - 1.05  
    0.85  // inverted signs

is this a bug? I've checked the bug list and there's nothing there,maybe I'm
using linsolve inappropriately?

TIA for any comments .. Barry


--
View this message in context: http://mailinglists.scilab.org/linsolve-is-this-a-bug-tp3253410p3253410.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list