login  home  contents  what's new  discussion  bug reports help  links  subscribe  changes  refresh  edit

 Submitted by : (unknown) at: 2007-11-17T22:03:09-08:00 (10 years ago) Name : Axiom Version : default friCAS-20090114 Axiom-20050901 OpenAxiom-20091012 OpenAxiom-20110220 OpenAxiom-Release-141 Category : Axiom Aldor Interface Axiom Compiler Axiom Library Axiom Interpreter Axiom Documentation Axiom User Interface building Axiom from source lisp system MathAction Doyen CD Reduce Axiom on Windows Axiom on Linux Severity : critical serious normal minor wishlist Status : open closed rejected not reproducible fix proposed fixed somewhere duplicate need more info Optional subject :   Optional comment :

This doesn't work:

axiom
L := [ A = 2*P1+P2, B = 2*P2+P1, C = 2*Q1+Q2, D = 2*Q2+Q1]
 (1)
Type: List(Equation(Polynomial(Integer)))
axiom
solve(L, [P1,P2])
 (2)
Type: List(List(Equation(Fraction(Polynomial(Integer)))))

But it should, observe this:

axiom
SA:=solve([L.1,L.2],[P1,P2])
 (3)
Type: List(List(Equation(Fraction(Polynomial(Integer)))))
axiom
SB:=solve([L.3,L.4],[Q1,Q2])
 (4)
Type: List(List(Equation(Fraction(Polynomial(Integer)))))

First two equationa do not depend on , the later two don't depend on . Now check it again the initial set:

axiom
S:=[SA.1.1,SA.1.2,SB.1.1,SB.1.2]
 (5)
Type: List(Equation(Fraction(Polynomial(Integer))))
axiom
map(x+->eval(x,S),L)
 (6)
Type: List(Equation(Expression(Integer)))

Status: open => duplicate

 Subject:   Be Bold !! ( 14 subscribers )