/usr/share/axiom-20170501/src/algebra/ARRAY2.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 | )abbrev domain ARRAY2 TwoDimensionalArray
++ Author: Mark Botch
++ Description:
++ A TwoDimensionalArray is a two dimensional array with
++ 1-based indexing for both rows and columns.
TwoDimensionalArray(R) : SIG == CODE where
R : Type
Row ==> OneDimensionalArray R
Col ==> OneDimensionalArray R
SIG ==> TwoDimensionalArrayCategory(R,Row,Col) with
shallowlyMutable
++ One may destructively alter TwoDimensionalArray's.
CODE ==> InnerIndexedTwoDimensionalArray(R,1,1,Row,Col)
|