/usr/share/axiom-20170501/src/algebra/PF.spad is in axiom-source 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 | )abbrev domain PF PrimeField
++ Authors: N.N.,
++ Date Created: November 1990, 26.03.1991
++ Date Last Updated: 31 March 1991
++ References:
++ Grab92 Finite Fields in Axiom
++ Lidl83 Finite Field, Encyclopedia of Mathematics and Its Applications
++ Description:
++ PrimeField(p) implements the field with p elements if p is a prime number.
++ Error: if p is not prime.
++ Note: this domain does not check that argument is a prime.
PrimeField(p) : SIG == CODE where
p : PositiveInteger
SIG ==> Join(FiniteFieldCategory,FiniteAlgebraicExtensionField($),_
ConvertibleTo(Integer))
CODE ==> InnerPrimeField(p) add
if not prime?(p)$IntegerPrimesPackage(Integer) then
error "Argument to prime field must be a prime"
|