I'm trying to produce a vector by several cross products
X := cross(A0, A1) Y := cross(A2, A3) B0 := A0 + a0X + a0Y B1 := A1 + a1X + a1Y B2 := A2 + a2X + a2Y B3 := A3 + a3X + a3Y C0 = cross(B0, B1) C1 = cross(B2, B3) D=cross(C0, C1)On the last command Axiom stop working and hang. Is there any workaround for this problem ? can't reproduce this problem --Bill Page, Sat, 28 May 2005 21:27:25 -0500 reply Why do you use = in the last 3 lines?
I can't reproduce this problem. The following works for me: fricas (1) -> (a0, Type: Void
fricas (a00, Type: Void
fricas A0:=vector [a00,
Type: Vector(Polynomial(Integer))
fricas (a10, Type: Void
fricas A1:=vector [a10,
Type: Vector(Polynomial(Integer))
fricas X:=cross(A0,
Type: Vector(Polynomial(Integer))
fricas (a20, Type: Void
fricas A2:=vector [a20,
Type: Vector(Polynomial(Integer))
fricas (a30, Type: Void
fricas A3:=vector [a30,
Type: Vector(Polynomial(Integer))
fricas Y:=cross(A2,
Type: Vector(Polynomial(Integer))
fricas B0 := A0 + a0*X + a0*Y
Type: Vector(Polynomial(Integer))
fricas B1 := A1 + a1*X + a1*Y
Type: Vector(Polynomial(Integer))
fricas B2 := A2 + a2*X + a2*Y
Type: Vector(Polynomial(Integer))
fricas B3 := A3 + a3*X + a3*Y
Type: Vector(Polynomial(Integer))
fricas C0 := cross(B0,
Type: Vector(Polynomial(Integer))
fricas C1 := cross(B2,
Type: Vector(Polynomial(Integer))
fricas D := cross(C0, Type: Vector(Polynomial(Integer))
But the last expression is very large and is too large to display on here on MathAction. Please post the actual Axiom commands that will cause Axiom to hang. I'm using axiom foe windows with WinTexMAcs? - may be that a problem ? Example code:(a0x, a1x, a2x, a3x, a0y, a1y, a2y, a3y) : Polynomial Integer (PR0, PR1, PR2, PR3, PRN0, PRN1, PRN2, PRN3, X, Y, Z, XN, YN, ZN): Vector Polynomial Integer PR0 := vector[PR0x, PR0y, PR0z] PR1 := vector[PR1x, PR1y, PR1z] PR2 := vector[PR2x, PR2y, PR2z] PR3 := vector[PR3x, PR3y, PR3z] X := cross(PR0, PR3) Y := cross(PR1, PR2) PRN0 := PR0 + a0x*X + a0y*Y PRN3 := PR3 + a3x*X + a3y*Y XN := cross(PRN0, PRN3) PRN1 := PR1 + a1x*X + a1y*Y PRN2 := PR2 + a2x*X + a2y*Y YN := cross(PRN1, PRN2) ZN := cross(XN, YN)You code is not working for me too - hang on the last command D := cross(C0,C1) I've launched your test in axiom console without WinTexMacs? and it's working. Any advices how to fix WinTexMacs? ? Severity: critical => minor Status: open => closed |