#2383 Allow inequalities in augcoefmatrix()

open
nobody
None
5
2012-11-18
2012-03-23
Edd Barrett
No

If you give augcoefmatrix() inequalities, maxima does some odd things:

augcoefmatrix([a = 1, b >= 1, c <= 2], [a, b, c]);
gives:
matrix([1,0,0,-1],[0,0,0,0>=1],[0,0,0,0<=2])

It would be sweet if maxima could handle these. In the case that the inequalities are mixed, eg, the system conatins a subset of inequalities whose operator are <= (call it R), and another subset whose operators are >= (call them S) you can multiply the coefficients by of one of the inequality types by -1 to arrive at a canonical form. This would work the same for < and > also.

It should not be possible to mix >= with >, or <= with > etc.

Perhaps not the best explanation, but I hope you know what I am suggesting.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks