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: "Štěpán Němec" <stepnem@gmail.com>
Cc: jay.p.belanger@gmail.com, emacs-devel@gnu.org
Subject: Re: Default simplifications in Calc (adding simplifications)
Date: Wed, 20 Jun 2012 16:17:24 -0500	[thread overview]
Message-ID: <87fw9pk7iz.fsf@gmail.com> (raw)
In-Reply-To: <87ehp9ka6g.fsf@gmail.com> ("Štěpán Němec"'s message of "Wed, 20 Jun 2012 22:20:07 +0200")


Hi Štěpán,

Thanks for the feedback.

> I agree the simplifications should be done by default. I believe that
> even to someone who never used Calc, things like
>
>> * Calc will simplify `x+x+y' to `2x+y' but will not simplify `x+y+x',
>
> must seem strange (inconsistent from a user's standpoint).

I agree.

The manual mentions that i^2 isn't reduced to -1 in case the user
redefines the variable i.
Also, the case could be made that x/x isn't quite 1.
While the case could be made that these should be "unsafe
simplifications", they are pretty standard and in my opinion should be
default simplifications.

> Personally I can't imagine why anyone would _not_ want the
> simplifications done, esp. if they don't incur any (noticeable)
> performance loss.

Right.
When Calc first came out, they probably did cause a performance loss,
but I think the time has come to make them default.

Unless there are any objections, then, I'll make all of the
simplifications in Algebraic Mode part of the default simplifications.

Jay



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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=87fw9pk7iz.fsf@gmail.com \
    --to=jay.p.belanger@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=stepnem@gmail.com \
    /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.