#15300: Weyl and Clifford Algebras
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  tscrim
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  algebra            |   Resolution:
       Keywords:  days54             |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/algebras/weyl_clifford-15300|  b47af6ae9f8dd1e6d870ec986f81fb6913d12e16
   Dependencies:  #16037             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jhpalmieri):

 When do I need to do `dx,dy,dz = sorted(W.differentials(), key=str)` vs.
 `dx,dy,dz = W.differentials()`? There are examples of both sorts; is the
 second version ever safe? I've seen in my own testing that the `variables`
 method can return its elements in a random order, not necessarily
 alphabetical. Will the same happen with `differentials` or
 `algebra_generators`? It's nice that `W.inject_variables()` works well;
 maybe that should be advertised, or at least used in some examples.

 When does `_coerce_map_from_` return a map and not just True or False?
 Please add more explanation and an example.

 A few small changes:
 {{{
 #!diff
 diff --git a/src/sage/algebras/weyl_algebra.py
 b/src/sage/algebras/weyl_algebra.py
 index 22300d9..8c256a0 100644
 --- a/src/sage/algebras/weyl_algebra.py
 +++ b/src/sage/algebras/weyl_algebra.py
 @@ -502,7 +502,7 @@ class DifferentialWeylAlgebra(Algebra,
 UniqueRepresentation):

      - ``R`` -- a (polynomial) ring
      - ``names`` -- (default: ``None``) if ``None`` and ``R`` is a
 -      polynomial ring, then consider the variable names corrspond to
 +      polynomial ring, then the variable names correspond to
        those of ``R``; otherwise if ``names`` is specified, then ``R``
        is the base ring

 @@ -577,7 +577,7 @@ class DifferentialWeylAlgebra(Algebra,
 UniqueRepresentation):

      def _element_constructor_(self, x):
          """
 -        Construct and element of ``self`` from ``x``.
 +        Construct an element of ``self`` from ``x``.

          EXAMPLES::

 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15300#comment:141>
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