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
Modérateur : xcasadmin
Code : Tout sélectionner
linsolve([x+y,x+y-2],[x,y])
Code : Tout sélectionner
[[undef,undef],[undef,y]]
Code : Tout sélectionner
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from giacpy import linsolve,giac
Help file doc/fr/aide_cas not found
Added 0 synonyms
>>> x,y=giac('x,y')
>>> linsolve([x+y,x+y-2],[x,y])
[]