#16851: Implement direct sum and tensor products for chain complexes and Koszul
complexes
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  tscrim
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  algebraic          |   Resolution:
  topology                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Travis Scrimshaw   |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  01158352cb6751e7286023c3031ad1120fa3cca1
  u/tscrim/koszul_complexes          |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by tscrim):

 Replying to [comment:5 jhpalmieri]:
 > Before it gets used, `zero` is redefined by `zero = matrix(R, [])`,
 isn't it?

 *facepalm*

 > > Importing them at the top-level makes the call to the function faster
 >
 > Just for the first call, right?

 No, every call. If we lazily import them, then its only on the first call.
 However this is moot because...

 > > However we can lazy import the `koszul_complex.py` module, which we
 should do since I feel that it's not likely too many people will use this.
 >
 > Sounds good.

 ...it will only get imported (into the module's scope) when the lazy
 import gets resolved.

--
Ticket URL: <http://trac.sagemath.org/ticket/16851#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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to