#20509: khovanov homology of links
-------------------------------------+-------------------------------------
Reporter: mmarco | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.2
Component: algebraic | Resolution:
topology | Merged in:
Keywords: knots | Reviewers:
Authors: Miguel Marco | Work issues:
Report Upstream: N/A | Commit:
Branch: | c3dfb06199943646ad2e06ee6ca2f0ded5321270
u/mmarco/khovanov_homology_of_links| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by tscrim):
I was thinking the value of `bases` is what should be cached since
`states` is just a transient variable.
To get around this recomputing issue, you could have another (private)
cached method that computes it on a by-degree basis (perhaps also taking
the `height` as input. Thus we can make the user-level accessible function
is not cached (and can thus return a `dict` for better usability). Eh...I
might have to think a little more on this. I agree that the format is bad.
(Another option would be `Family`.)
Also, you can make this change:
{{{#!diff
-m[ii,jj] = (-1)**sum([V2[0][_] for _ in range(difs[0]+1, ncross)])
+m[ii,jj] = (-1)**sum(V2[0][difs[0]+1:ncross])
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20509#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.