/usr/share/doc/axiom-doc/hypertex/strang.input is in axiom-hypertex-data 20120501-8.
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 | rowmatrix(r:List(Fraction(Integer))):Matrix(Fraction(Integer)) ==
[r]::Matrix(Fraction(Integer))
columnmatrix(c:List(Fraction(Integer))):Matrix(Fraction(Integer)) ==
[[i] for i in c]::Matrix(Fraction(Integer))
k(n) ==
M := diagonalMatrix([2 for i in 1..n])
for i in 1..n-1 repeat M(i,i+1):=-1
for i in 1..n-1 repeat M(i+1,i):=-1
M::SquareMatrix(n,Fraction(Integer))
t(n) ==
M:=k(n)
N:=M::Matrix(Fraction(Integer))
qsetelt!(N,1,1,1)
N::SquareMatrix(n,Fraction(Integer))
b(n) ==
M:=k(n)
N:=M::Matrix(Fraction(Integer))
qsetelt!(N,1,1,1)
qsetelt!(N,n,n,1)
N::SquareMatrix(n,Fraction(Integer))
K:=k(3)
T:=t(3)
B:=b(3)
|