Skip to content

Commit fbee5b7

Browse files
committed
Fix docstrings
1 parent bea7abd commit fbee5b7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/sage/matrix/matrix_integer_dense.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2743,7 +2743,8 @@ cdef class Matrix_integer_dense(Matrix_dense):
27432743
def BKZ(self, delta=None, algorithm="fpLLL", fp=None, block_size=10, prune=0,
27442744
use_givens=False, precision=0, proof=None, **kwds):
27452745
"""
2746-
Block Korkin-Zolotarev reduction.
2746+
Run Block Korkin-Zolotarev reduction on ``self`` interpreted
2747+
as a lattice, and return the result.
27472748
27482749
INPUT:
27492750

src/sage/matrix/matrix_rational_dense.pyx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2929,7 +2929,8 @@ cdef class Matrix_rational_dense(Matrix_dense):
29292929

29302930
def BKZ(self, *args, **kwargs):
29312931
"""
2932-
Block Korkin-Zolotarev reduction.
2932+
Return the result of running Block Korkin-Zolotarev reduction on
2933+
``self`` interpreted as a lattice.
29332934
29342935
For details on input parameters, see
29352936
:meth:`sage.matrix.matrix_integer_dense.Matrix_integer_dense.BKZ`.
@@ -2970,7 +2971,8 @@ cdef class Matrix_rational_dense(Matrix_dense):
29702971
For a definition of LLL reduction, see
29712972
:meth:`sage.matrix.matrix_integer_dense.Matrix_integer_dense.LLL`.
29722973
2973-
EXAMPLES:
2974+
EXAMPLES::
2975+
29742976
sage: A = random_matrix(QQ, 10, 10)
29752977
sage: L = A.LLL()
29762978
sage: A.is_LLL_reduced()

0 commit comments

Comments
 (0)