/usr/share/axiom-20170501/input/bezout.input is in axiom-test 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | )set break resume
)sys rm -f bezout.output
)spool bezout.output
)set message test on
)set message auto off
)clear all
--S 1 of 4
bp:=BezoutMatrix(Integer,SUP(INT),U32Matrix,U32Vector,U32Vector)
--R
--R (1)
--R BezoutMatrix(Integer,SparseUnivariatePolynomial(Integer),U32Matrix,U32Vector,
--R U32Vector)
--R Type: Domain
--E 1
--S 2 of 4
p:=(x^3+1)::SUP(INT)
--R
--R 3
--R (2) ? + 1
--R Type: SparseUnivariatePolynomial(Integer)
--E 2
--S 3 of 4
q:=(x^2+x+1)::SUP(INT)
--R
--R 2
--R (3) ? + ? + 1
--R Type: SparseUnivariatePolynomial(Integer)
--E 3
--S 4 of 4
sylvesterMatrix(p,q)$bp
--R
--R +1 0 0 1 0+
--R | |
--R |0 1 0 0 1|
--R | |
--R (4) |1 1 1 0 0|
--R | |
--R |0 1 1 1 0|
--R | |
--R +0 0 1 1 1+
--R Type: U32Matrix
--E 4
)spool
)lisp (bye)
|