Skip to content

Commit 67006bb

Browse files
committed
return true if and only if -> return whether
1 parent df955bf commit 67006bb

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/sage/matrix/matrix_polynomial_dense.pyx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ cdef class Matrix_polynomial_dense(Matrix_generic_dense):
264264

265265
def is_constant(self):
266266
r"""
267-
Return ``True`` if and only if this polynomial matrix is constant,
267+
Return whether this polynomial matrix is constant,
268268
that is, all its entries are constant.
269269
270270
OUTPUT: a boolean.
@@ -3261,7 +3261,7 @@ cdef class Matrix_polynomial_dense(Matrix_generic_dense):
32613261
row_wise=True,
32623262
normal_form=False):
32633263
r"""
3264-
Return ``True`` if and only if this matrix is an approximant basis in
3264+
Return whether this matrix is an approximant basis in
32653265
``shifts``-ordered weak Popov form for the polynomial matrix ``pmat``
32663266
at order ``order``.
32673267
@@ -3784,7 +3784,7 @@ cdef class Matrix_polynomial_dense(Matrix_generic_dense):
37843784
row_wise=True,
37853785
normal_form=False):
37863786
r"""
3787-
Return ``True`` if and only if this matrix is a left kernel basis in
3787+
Return whether this matrix is a left kernel basis in
37883788
``shifts``-ordered weak Popov form for the polynomial matrix ``pmat``.
37893789
37903790
If ``normal_form`` is ``True``, then the kernel basis must furthermore
@@ -4437,10 +4437,9 @@ cdef class Matrix_polynomial_dense(Matrix_generic_dense):
44374437

44384438
def _is_basis_completion(self, mat, row_wise=True):
44394439
r"""
4440-
Return true if and only if this matrix is a basis completion for
4441-
``mat``. For the definition of basis completion, including its
4442-
orientation row-wise or column-wise, see the documentation of
4443-
:meth:`basis_completion`.
4440+
Return whether this matrix is a basis completion for ``mat``. For the
4441+
definition of basis completion, including its orientation row-wise or
4442+
column-wise, see the documentation of :meth:`basis_completion`.
44444443
44454444
INPUT:
44464445

0 commit comments

Comments
 (0)