@@ -1152,9 +1152,9 @@ def _khovanov_homology_cached(self, height, implementation, ring=ZZ, **kwds):
1152
1152
following:
1153
1153
1154
1154
* ``'native'`` -- uses the original Sage implementation
1155
-
1156
1155
* ``'Khoca'`` -- uses the implementation of the optional package
1157
- ``khoca`` package is present.
1156
+ ``khoca`` package is present
1157
+
1158
1158
- ``ring`` -- (default: ``ZZ``) the coefficient ring
1159
1159
- ``kwds`` -- dictionary of options to be passes to ``Khoca``
1160
1160
@@ -1261,19 +1261,19 @@ def khovanov_homology(self, ring=ZZ, height=None, degree=None, implementation='n
1261
1261
1262
1262
- ``kwds`` -- dictionary of options to be passes to ``Khoca``
1263
1263
1264
- * ``reduced`` -- boolean (default ``False``). Set this to
1265
- ``True`` to obtain reduced homology
1264
+ * ``reduced`` -- boolean (default ``False``); if
1265
+ ``True``, then returns the reduced homology
1266
1266
1267
- * ``equivariant`` -- positive integer (default ``2``). Set this
1268
- to ``n`` to obtain Khovanov-Rozansky sl(n)-homology with n > 2 of
1269
- bipartite knots
1267
+ * ``equivariant`` -- positive integer (default ``2``); if this is
1268
+ `n`, then it returns the Khovanov-Rozansky ` sl(n)` -homology
1269
+ with `n > 2` of bipartite knots
1270
1270
1271
- * ``frobenius_algebra`` -- tuple of integers (default ``(0, 0)``. The
1271
+ * ``frobenius_algebra`` -- tuple of integers (default ``(0, 0)``); the
1272
1272
elements of the tuple are interpreted as modulus coefficients of
1273
- the underlying frobenius algebra
1273
+ the underlying Frobenius algebra
1274
1274
1275
1275
* ``root`` -- integer specifying a root of the modulus of the
1276
- frobenius algeba.
1276
+ Frobenius algeba
1277
1277
1278
1278
OUTPUT:
1279
1279
@@ -1341,11 +1341,11 @@ def khovanov_homology(self, ring=ZZ, height=None, degree=None, implementation='n
1341
1341
sage: L.khovanov_homology(degree=1, height=1)
1342
1342
{}
1343
1343
"""
1344
- from sage .interfaces .khoca import check_kwds
1345
- check_kwds (** kwds )
1346
1344
khoca = False
1347
1345
if implementation == 'Khoca' :
1348
1346
khoca = True
1347
+ from sage .interfaces .khoca import check_kwds
1348
+ check_kwds (** kwds )
1349
1349
elif implementation != 'native' :
1350
1350
raise ValueError ('%s is not a recognized implementation' )
1351
1351
0 commit comments