aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/array2.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/array2.spad.pamphlet')
-rw-r--r--src/algebra/array2.spad.pamphlet4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/algebra/array2.spad.pamphlet b/src/algebra/array2.spad.pamphlet
index 217d9cad..4828c081 100644
--- a/src/algebra/array2.spad.pamphlet
+++ b/src/algebra/array2.spad.pamphlet
@@ -32,9 +32,7 @@ TwoDimensionalArrayCategory(R,Row,Col): Category == Definition where
R : Type
Row : FiniteLinearAggregate R
Col : FiniteLinearAggregate R
- Definition == FiniteAggregate R with
- shallowlyMutable
- ++ one may destructively alter arrays
+ Definition == Join(FiniteAggregate R,ShallowlyMutableAggregate R) with
--% Array creation
new: (NonNegativeInteger,NonNegativeInteger,R) -> %
++ new(m,n,r) is an m-by-n array all of whose entries are r