Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 71070de

Browse files
author
David Lucas
committed
Merged with 18928 and fixed conflicts
2 parents 74cc281 + eabe7e0 commit 71070de

File tree

4 files changed

+215
-183
lines changed

4 files changed

+215
-183
lines changed

src/doc/en/reference/coding/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Coding Theory
1313
sage/coding/channel_constructions
1414
sage/coding/channels_catalog
1515
sage/coding/codes_catalog
16+
sage/coding/grs
1617
sage/coding/linear_code
1718
sage/coding/code_constructions
1819
sage/coding/guava

src/sage/coding/encoder.py

+6-7
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,11 @@ def unencode(self, c, nocheck=False):
142142
143143
INPUT:
144144
145-
- ``c`` -- a vector of the same length as :meth:`code` over the
146-
base field of :meth:`code`.
145+
- ``c`` -- a codeword of :meth:`code`.
147146
148-
- ``nocheck`` -- (default: ``False``) checks if ``c`` is in ``self``. You might set
147+
- ``nocheck`` -- (default: ``False``) checks if ``c`` is in :meth:`code`. You might set
149148
this to ``True`` to disable the check for saving computation. Note that if ``c`` is
150-
not in ``self`` and ``nocheck = True``, then the output of :meth:`unencode` is
149+
not in :meth:`self` and ``nocheck = True``, then the output of :meth:`unencode` is
151150
not defined (except that it will be in the message space of ``self``).
152151
153152
OUTPUT:
@@ -231,12 +230,12 @@ def unencode_nocheck(self, c):
231230
232231
INPUT:
233232
234-
- ``c`` -- a vector of the same length as ``self`` over the
235-
base field of ``self``
233+
234+
- ``c`` -- a codeword of :meth:`code`.
236235
237236
OUTPUT:
238237
239-
- a vector
238+
- an element of the message space of ``self``.
240239
241240
EXAMPLES::
242241

0 commit comments

Comments
 (0)