MathAction #178 Linear Agebra problem

Submitted by : (unknown) at: 2007年11月17日T22:03:09-08:00 (18 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :
Optional comment :

This doesn't work:

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

But it should, observe this:

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

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

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

Same as bug #170 --kratt6, 2005年6月21日 02:20:21 -0500 reply
Status: open => duplicate




Subject: Be Bold !!
( 15 subscribers )
Please rate this page:

AltStyle によって変換されたページ (->オリジナル) /