linsolve and giacpy
Publié : sam. déc. 09, 2017 6:04 pm
Hi,
linsolve behaves unlike Xcas when solving linear system of equations that has no solutions. Consider for instance the simple
in python using giacpy (x,y are defined as pygen types) the output is
while in Xcas the output is simply an empty list. I believe the python output is unwanted by most users and the empty list output by Xcas is the correct output. Can this be changed or is this what the developers really want?
Jose
linsolve behaves unlike Xcas when solving linear system of equations that has no solutions. Consider for instance the simple
Code : Tout sélectionner
linsolve([x+y,x+y-2],[x,y])
Code : Tout sélectionner
[[undef,undef],[undef,y]]
Jose