1 | ||
Editor:
Time: 2007/11/17 22:00:21 GMT-8 |
||
Note: |
changed: - I'm trying to produce a vector by several cross products <br> All variables and elements of the vectors are polynomial integers <br> All vectors are Vector Polynomial Integer <br> <pre> X := cross(A0, A1) Y := cross(A2, A3) B0 := A0 + a0*X + a0*Y B1 := A1 + a1*X + a1*Y B2 := A2 + a2*X + a2*Y B3 := A3 + a3*X + a3*Y C0 = cross(B0, B1) C1 = cross(B2, B3) D=cross(C0, C1) </pre> On the last command Axiom stop working and hang. Is there any workaround for this problem ? From BillPage Sat May 28 21:27:25 -0500 2005 From: Bill Page Date: Sat, 28 May 2005 21:27:25 -0500 Subject: can't reproduce this problem Message-ID: <20050528212725-0500@page.axiom-developer.org> Why do you use = in the last 3 lines? I can't reproduce this problem. The following works for me: \begin{axiom} (a0,a1,a2,a3):Polynomial Integer (a00,a01,a02):Polynomial Integer A0:=vector [a00,a01,a02] (a10,a11,a12):Polynomial Integer A1:=vector [a10,a11,a12] X:=cross(A0,A1) (a20,a21,a22):Polynomial Integer A2:=vector [a20,a21,a22] (a30,a31,a32):Polynomial Integer A3:=vector [a30,a31,a32] Y:=cross(A2,A3) B0 := A0 + a0*X + a0*Y B1 := A1 + a1*X + a1*Y B2 := A2 + a2*X + a2*Y B3 := A3 + a3*X + a3*Y C0 := cross(B0,B1) C1 := cross(B2,B3) D := cross(C0,C1); \end{axiom} 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. From unknown Sun May 29 01:50:06 -0500 2005 From: unknown Date: Sun, 29 May 2005 01:50:06 -0500 Subject: here are actual commands: Message-ID: <20050529015006-0500@page.axiom-developer.org> I'm using axiom foe windows with WinTexMAcs - may be that a problem ? From unknown Sun May 29 01:58:36 -0500 2005 From: unknown Date: Sun, 29 May 2005 01:58:36 -0500 Subject: Message-ID: <20050529015836-0500@page.axiom-developer.org> 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) From unknown Sun May 29 02:10:21 -0500 2005 From: unknown Date: Sun, 29 May 2005 02:10:21 -0500 Subject: your sample Message-ID: <20050529021021-0500@page.axiom-developer.org> You code is not working for me too - hang on the last command D := cross(C0,C1) From unknown Sun May 29 02:22:26 -0500 2005 From: unknown Date: Sun, 29 May 2005 02:22:26 -0500 Subject: update : it's WInTexMAcs problem Message-ID: <20050529022226-0500@page.axiom-developer.org> I've launched your test in axiom console without WinTexMacs and it's working. Any advices how to fix WinTexMacs ? From unknown Sun May 29 02:23:37 -0500 2005 From: unknown Date: Sun, 29 May 2005 02:23:37 -0500 Subject: property change Message-ID: <20050529022337-0500@page.axiom-developer.org> Severity: critical => minor Status: open => closed
I'm trying to produce a vector by several cross products
All variables and elements of the vectors are polynomial integers
All vectors are Vector Polynomial Integer
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 ?
I can't reproduce this problem. The following works for me:
(1) -> (a0,a1, a2, a3):Polynomial Integer
(a00,a01, a02):Polynomial Integer
A0:=vector [a00,a01, a02]
(1) |
(a10,a11, a12):Polynomial Integer
A1:=vector [a10,a11, a12]
(2) |
X:=cross(A0,A1)
(3) |
(a20,a21, a22):Polynomial Integer
A2:=vector [a20,a21, a22]
(4) |
(a30,a31, a32):Polynomial Integer
A3:=vector [a30,a31, a32]
(5) |
Y:=cross(A2,A3)
(6) |
B0 := A0 + a0*X + a0*Y
(7) |
B1 := A1 + a1*X + a1*Y
(8) |
B2 := A2 + a2*X + a2*Y
(9) |
B3 := A3 + a3*X + a3*Y
(10) |
C0 := cross(B0,B1)
(11) |
C1 := cross(B2,B3)
(12) |
D := cross(C0,C1);
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