#4539: plural wrapper
---------------------------+------------------------------------------------
Reporter: burcin | Owner: OleksandrMotsak, AlexanderDreyer
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: algebra | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by nthiery):
Hi Simon!
Replying to [comment:33 SimonKing]:
> Replying to [comment:32 nthiery]:
> > I started playing with ideals. Currently, one creates an ideal I, and
> > then when one calls I.std() or I.twostd() to create a new left or
> > twosided ideal, and actually compute the Groebner basis. What about
> > the following variants:
>
> Currently, if R is a commutative ring and L is a list of elements of R,
one may use the shorthand notation {{{I = R*L}}} or {{{I = L*R}}} to
create an ideal. It seems natural to me to extend this to the non-
commutative case: {{{R*L}}} for left ideal, {{{L*R}}} for right ideal,
and {{{R*L*R}}} for two-sided ideal.
+1 for the implementation proposal!
I also like that shorthand syntax for interactive usage. However, in
code, I prefer using something more explicit like R.ideal(L,side=...).
Besides, having an R.ideal method also provides with:
- a good place for advertising (it appears in R.<tab>), documenting,
testing the feature and its shorthand
- an easy way for subclasses of (the class of) R to override this
method without having to worry about overloading/coercion/...
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4539#comment:35>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.