@@ -6633,7 +6633,7 @@ randmat_with_rank(S::MatSpace{T}, rank::Int, v...) where {T <: RingElement} =
66336633Constructs the matrix over $R$ with entries as in `arr`.
66346634"""
66356635function matrix (R:: NCRing , arr:: AbstractMatrix{T} ) where {T}
6636- @req ! is_trivial (R) " The zero is currently not supported as a base ring."
6636+ @req ! is_trivial (R) " Zero rings are currently not supported as base ring."
66376637 if elem_type (R) === T && all (e -> parent (e) === R, arr)
66386638 z = Generic. MatSpaceElem {elem_type(R)} (R, arr)
66396639 return z
@@ -6644,7 +6644,7 @@ function matrix(R::NCRing, arr::AbstractMatrix{T}) where {T}
66446644end
66456645
66466646function matrix (R:: NCRing , arr:: MatElem )
6647- @req ! is_trivial (R) " The zero is currently not supported as a base ring."
6647+ @req ! is_trivial (R) " Zero rings are currently not supported as base ring."
66486648 return map_entries (R, arr)
66496649end
66506650
@@ -6683,7 +6683,7 @@ Constructs the $r \times c$ matrix over $R$, where the entries are taken
66836683row-wise from `arr`.
66846684"""
66856685function matrix (R:: NCRing , r:: Int , c:: Int , arr:: AbstractVecOrMat{T} ) where T
6686- @req ! is_trivial (R) " The zero is currently not supported as a base ring."
6686+ @req ! is_trivial (R) " Zero rings are currently not supported as base ring."
66876687 _check_dim (r, c, arr)
66886688 ndims (arr) == 2 && return matrix (R, arr)
66896689 if elem_type (R) === T && all (e -> parent (e) === R, arr)
@@ -7065,7 +7065,7 @@ the ring $R$.
70657065function matrix_space (R:: NCRing , r:: Int , c:: Int ; cached:: Bool = true )
70667066 # TODO : the 'cached' argument is ignored and mainly here for backwards compatibility
70677067 # (and perhaps future compatibility, in case we need it again)
7068- @req ! is_trivial (R) " The zero is currently not supported as a base ring."
7068+ @req ! is_trivial (R) " Zero rings are currently not supported as base ring."
70697069 (r < 0 || c < 0 ) && error (" Dimensions must be non-negative" )
70707070 T = elem_type (R)
70717071 return MatSpace {T} (R, r, c)
0 commit comments