all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jay Belanger <jay.p.belanger@gmail.com>
To: emacs-devel@gnu.org
Cc: jay.p.belanger@gmail.com
Subject: Default simplifications in Calc (adding simplifications)
Date: Sat, 16 Jun 2012 22:17:29 -0500	[thread overview]
Message-ID: <87r4tek4om.fsf@gmail.com> (raw)


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




             reply	other threads:[~2012-06-17  3:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-17  3:17 Jay Belanger [this message]
2012-06-20 20:20 ` Default simplifications in Calc (adding simplifications) Štěpán Němec
2012-06-20 21:17   ` Jay Belanger
2012-06-21  6:23     ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4tek4om.fsf@gmail.com \
    --to=jay.p.belanger@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.