kcrisman wrote: > > >> This is based on the code developed in the >> threadhttp://groups.google.com/group/sage-devel/browse_thread/thread/100de8... >> >> (that code probably should get into Sage; it makes some calculations >> very, very easy to write down...) >> >> The trac ticket for incorporating this decorator >> ishttp://trac.sagemath.org/sage_trac/ticket/6245 > > There are lots of good uses for something like this, e.g. I could have > used this for teaching Dirichlet products this past semester. If > something like this ever got into Sage, would it only be for "private"
If you polish it up into a patch, I'll review it (so hopefully it gets into 4.0.2)! Hmmm...or maybe I shouldn't review it, being one of the authors... > use as detailed above, or could some custom infix operators > potentially become standard like the backslash, which only works for > things with the _backslash_ defined (presumably only matrix/vector > combos)? Only time will tell. I think it's safe to say it would be available for private use. Frankly, I'm a bit surprised that we have the backslash operator. It's a bow to matlab (I assume), but there are lots and lots of other matlab operators we don't have. Sage has (rightfully) been very conservative about language additions. However, I can see a sage.misc.infix module (or even specific modules, like sage.graphs.infix) containing a bunch of nice infix operators, not defined by default, but that someone could then import. That would help standardize some things if people used them a lot. Jason -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---