On Jan 19, 8:24 am, ancienthart <[email protected]> wrote: > Attempting to use this on my matrix, I end up with the following results (D > is my matrix):
> > I personally wish that sage simplify functions worked as follows: > > simplify_rational and simplify_trig work as currently implemented. > simplify was renamed simplify_basic > Simplify was replaced with a new method/function that try/excepted the > algorithms in simplify_full, simplify_trig, simplify_rational then > simplify_basic, returning the first that succeeded. > I understand the need to provide functions that control the level of detail > used when simplifying complex problems. > However I'd assume that most basic/mid-level users just want the > expression/equation/object simplified with as little fiddly-ness as > possible. Currently I tend to call simplify_full on most problems - I.e. > simplify_full is my practical default rather than simplify. I feel like there is a ticket out there to refactor a lot of this kind of stuff (simplify, expand, factor, etc.). Since there is a lot of disagreement on what exactly is the best course of action, we have thus far continued our current scheme. I think that this is not the worst of the proposals I've heard. More important is the option to apply a lot of things to a matrix. Simon's got the right idea (lambda functions) for what you want to do. But we should make this easier. My guess is that even the 'magic' decorator for turning methods into functions wouldn't help here, and that is too bad. Maybe matrices need some way for that to happen - but I have no idea how one would implement something general like that, esp. if one couldn't tell ahead of time whether all the elements would have the method. Maybe someone else has a suggestion? We really don't want to have to be referring to lambda all the time in support requests. Understanding them well should not be a prerequisite for simplifying matrices. - kcrisman -- 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-support URL: http://www.sagemath.org
