Annotation of OpenXM/src/Macaulay2/m2/README, Revision 1.2
1.2 ! takayama 1: $OpenXM: OpenXM/src/Macaulay2/m2/README,v 1.1 2000/12/14 06:12:27 takayama Exp $
1.1 takayama 2:
3: -----------------------------------
4: This module is under development.
5:
6: Here is an example session:
7: -----------------------------------
8:
9: i1 : load "oxclient.m2"
10: --loaded oxcommon.m2
11: --loaded oxclient.m2
12:
1.2 ! takayama 13: i2 : asir=oxasir();
1.1 takayama 14: F = $:2255 and G = $:4616
15: ssh -f -l taka localhost ' xterm -geometry 80x25-0-0 -e ox -ox ox_asir -data 4616 -control 2255 -reverse -host localhost -pass M2 ' >/dev/null
16: Warning: Cannot allocate colormap entry for "yellow3"
17: Warning: Cannot allocate colormap entry for "gray90"
18: Warning: Cannot allocate colormap entry for "gray30"
19: Read 3 bytes: {77, 50, 0}
20: Read 3 bytes: {77, 50, 0}
21: Read 1 bytes: {0}
22: Read 1 bytes: {1}
23:
24: i3 : QQ[x,y]
25:
26: o3 = QQ [x, y]
27:
28: o3 : PolynomialRing
29:
30: i4 : ideal(x^2-1,y^2-1)
31:
32: 2 2
33: o4 = ideal (x - 1, y - 1)
34:
35: o4 : Ideal of QQ [x, y]
36:
1.2 ! takayama 37: i5 : oxPrimDecomp(asir,o4)
1.1 takayama 38: sendingprimadec([x^2-1,y^2-1],[x, y]);
1.2 ! takayama 39: o5 = {{ideal {y - 1, x - 1}, ideal {y - 1, x - 1}},
! 40: {ideal {y - 1, x + 1}, ideal {y - 1, x + 1}},
! 41: {ideal {y + 1, x - 1}, ideal {y + 1, x - 1}},
! 42: {ideal {y + 1, x + 1}, ideal {y + 1, x + 1}}}
1.1 takayama 43:
44: o6 : List
1.2 ! takayama 45:
! 46:
! 47: ------------------
! 48:
! 49: Trouble shoot when ox sever window (xterm) does not show up.
! 50:
! 51: 1. On knoppix/math, start M2 with
! 52: openxm M2
! 53:
! 54: 2. If you suspect the locale is not properly set,
! 55: add
! 56: XTerm*locale:false
! 57: to .Xdefaults or .Xresources and load them by
! 58: xrdb .Xdefaults
! 59:
! 60: "xterm" crashes if the locale is not properly set.
! 61:
! 62: 3. asir_1, asir_2, ... cannot be used as polynomial variabes.
! 63:
! 64: ------ For developer.
! 65: -- Test data (large) by Anton Leykin (2006.12.07) to find a copy trouble
! 66: -- of readMoreData (oxcommon.m2).
! 67: load "oxclient.m2"
! 68: QQ[x_1..x_4,a_1..a_4]
! 69: I =
! 70: ideal(3*x_1*a_1+2*x_2*a_2-x_4*a_4,x_2*x_3-x_1*x_4,x_2^2*a_1+x_1*x_3*a_2+x_2*x_4*a_3+x_3^2*a_4,3*x_3^3*a_1+x_2*x_4^2*a_1+3*x_3^2*x_4*a_2+x_4^3*a_3,x_3^3-x_2*x_4^2);
! 71: asir = oxasir();
! 72: ans=oxPrimDecomp(asir,I)
! 73:
! 74:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>