all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Default simplifications in Calc (adding simplifications)
@ 2012-06-17  3:17 Jay Belanger
  2012-06-20 20:20 ` Štěpán Němec
  0 siblings, 1 reply; 4+ messages in thread
From: Jay Belanger @ 2012-06-17  3:17 UTC (permalink / raw)
  To: emacs-devel; +Cc: jay.p.belanger


I'm wondering if anyone has any opinions on moving some algebraic
simplifications to Calc's default simplifications.

Calc does not do some "natural" simplifications by default, but
these simplifications can be done using the "a s" command or by using
Calc's Algebraic Simplification mode.  For example,  by default:
* Calc will simplify `x+x+y' to `2x+y' but will not simplify `x+y+x',
* Calc will not simplify 'x*y + y*x', 
* Calc will not reduce i^2 to -1,
* Calc will not cancel common factors in the top and bottom of a fraction
* Calc will not simplify cos(x)tan(x) to sin(x).
There are others, see (info "(Calc) Algebraic Simplifications")

I think the simplifications done by Algebraic Simplification mode (or
at least some of them) should be done by default; they are not done by
default (according to the manual) "because they may be too slow to
apply all the time, or may not be desirable all of the time."  
I don't think speed is an issue any longer (computers are a bit faster
than they were when Calc was originally written), but since this would
be a change to default behavior I thought I should see if anyone has any
thoughts on the matter. 

Jay




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-21  6:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-17  3:17 Default simplifications in Calc (adding simplifications) Jay Belanger
2012-06-20 20:20 ` Štěpán Němec
2012-06-20 21:17   ` Jay Belanger
2012-06-21  6:23     ` Miles Bader

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.