@@ -872,7 +872,7 @@ def macaulay_matrix(self, degree,
872872 when ``True``, all polynomials in the sequence must be homogeneous.
873873 the rows of the Macaulay matrix then represent all possible products
874874 between a polynomial in the sequence and a monomial of the polynomial
875- ring such that the resulting product is homogeneous of degree
875+ ring such that the resulting product is homogeneous of degree
876876 ``degree + d_max``, where ``d_max`` is the maximum degree among the
877877 input polynomials
878878
@@ -891,13 +891,13 @@ def macaulay_matrix(self, degree,
891891 index in the sequence of the input polynomial, whose product
892892 describes the corresponding row of the matrix; the second one is the
893893 list of monomials corresponding to the columns of the matrix
894-
894+
895895 - ``remove_zero`` -- boolean (default: ``False``);
896- when ``False``, all monomials of the polynomial ring up to
896+ when ``False``, all monomials of the polynomial ring up to
897897 degree ``degree``are included as columns in the Macaulay matrix;
898898 when ``True``, only the monomials that actually appear in the polynomial
899899 sequence are included
900-
900+
901901 - ``reverse_column_order`` -- boolean (default: ``False``);
902902 when ``False``, by default the order for the columns is the same
903903 as the order of the polynomial ring;
@@ -906,11 +906,11 @@ def macaulay_matrix(self, degree,
906906
907907 - ``row_order`` -- str (default: ``None``);
908908 determines the ordering of the columns in the matrix;
909- when ``None`` (or ``"POT"``), a **position over term** (POT) order is used:
909+ when ``None`` (or ``"POT"``), a **position over term** (POT) order is used:
910910 columns are first ordered by the index of the corresponding polynomial
911911 in the sequence, and then by the (multiplicative) monomials;
912912 when set to ``"TOP"``, the columns follow a **term over position**
913- (TOP) order: columns are firt ordered by the (multiplicative) monomials
913+ (TOP) order: columns are firt ordered by the (multiplicative) monomials
914914 and then by the index of the corresponding polynomial
915915 in the sequence
916916
@@ -997,7 +997,7 @@ def macaulay_matrix(self, degree,
997997 ...
998998 ValueError: the degree must be nonnegative
999999
1000- sage: Sequence([y*z + z^2 - 1,f2= x*y - z^2 - x ]).macaulay_matrix(0, homogeneous=True)
1000+ sage: Sequence([y*z + z^2 - 1,x*y - z^2 - x ]).macaulay_matrix(0, homogeneous=True)
10011001 Traceback (most recent call last):
10021002 ...
10031003 ValueError: all the polynomials of the sequence must be homogeneous
0 commit comments