This file is indexed.

/usr/share/axiom-20170501/src/algebra/UP2.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
23
24
)abbrev package UP2 UnivariatePolynomialFunctions2
++ Description:
++ This package lifts a mapping from coefficient rings R to S to
++ a mapping from \spadtype{UnivariatePolynomial}(x,R) to
++ \spadtype{UnivariatePolynomial}(y,S). Note that the mapping is assumed
++ to send zero to zero, since it will only be applied to the non-zero
++ coefficients of the polynomial.

UnivariatePolynomialFunctions2(x,R,y,S) : SIG == CODE where
  x : Symbol
  R : Ring
  y : Symbol
  S : Ring

  SIG ==> with

    map : (R -> S, UnivariatePolynomial(x,R)) -> UnivariatePolynomial(y,S)
      ++ map(func, poly) creates a new polynomial by applying func to
      ++ every non-zero coefficient of the polynomial poly.

  CODE ==> add

    map(f, p) == map(f, p)$UnivariatePolynomialCategoryFunctions2(R,
                UnivariatePolynomial(x, R), S, UnivariatePolynomial(y, S))