linsolve strange behavior



I don't know why you have all this stuff in your mail. Show
us the smallest example of what goes wrong.
On commercial macsyma, I get for the first problem,
[coe[1] = (((2 * %r1 + 1) * coeff_y + 2 * %r1 - 1)/(2 * coeff_y + 2)),
coe[2] =  - ((2 * %r1 - 1)/2),
coe[3] =  - ((%r1 * coeff_y + %r1 - 1)/(coeff_y + 1)), coe[4] = %r1]

Though I have removed all the irrelevant "assume" stuff which
I think is not used by linsolve.

I then ran the first problem on maxima 5.9.0 and it got the same
answer.

Maybe the assume stuff IS used by linsolve and causing problems.


Raimondo Giammanco wrote:

>Hello, 
>
> I have a strange behavior of Maxima (app-sci/maxima-5.9.0-r2 
>in Gentoo GNU/Linux, should be 5.9.0 plain maxima for practical 
>purposes) compiled against cmucl (dev-lisp/cmucl-18e)
>and gcl (dev-lisp/gcl-2.5.2).
>
> For a particular input, I end up needing to solve 
>a linear system of 3 eqn.s in 4 unknowns with 4
>parameters (DX,coeff_x,DY,coeff_y):
>
>[coe[4]+coe[3]+coe[2]+coe[1] = 1,
>     
>-coe[2]*DY/(2*coeff_y)-coe[1]*DY/(2*coeff_y)+coe[4]*DY/2+coe[3]*DY/2= 0,
>
>-coe[4]*DX/(2*coeff_x)+coe[3]*DX/(2*coeff_x)-coe[2]*DX/(2*coeff_x)         +coe[1]*DX/(2*coeff_x) = 0]
>
>with unknowns coe[i].
>
>
>  
>