unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: 41223-done@debbugs.gnu.org
Subject: bug#41223: 28.0.50; Calc gives wrong determinant for some matrices with symbolic variables
Date: Thu, 14 May 2020 10:43:19 +0200	[thread overview]
Message-ID: <7A33094E-BD4C-45DE-A57D-F23D50CFC6B4@acm.org> (raw)
In-Reply-To: <CABczVwd2oGJJ+ph4FRMx+V4fcYG8T-dZVzUzpxAcnxA3+xdnJQ@mail.gmail.com>

14 maj 2020 kl. 00.15 skrev Mauro Aranda <maurooaranda@gmail.com>:

> It is good enough for me.  Thanks.

The pleasure was all mine! It has now been pushed to master.

No doubt there are better ways of computing the determinant for non-numeric matrices. In particular, division shouldn't be necessary at all, and the current algorithm results in some untidy expressions. For example, the determinant of

[a 0 0 1]
[0 b 0 0]
[0 0 c 0]
[1 0 0 d]

is given as abc*(d-1/a), falsely giving the impression of being undefined for a=0, rather than bc(ad-1).






  reply	other threads:[~2020-05-14  8:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 23:24 bug#41223: 28.0.50; Calc gives wrong determinant for some matrices with symbolic variables Mauro Aranda
2020-05-13 12:58 ` Mattias Engdegård
2020-05-13 22:15   ` Mauro Aranda
2020-05-14  8:43     ` Mattias Engdegård [this message]
2020-05-14  9:56       ` Mattias Engdegård
2020-05-14 11:49         ` Mauro Aranda
2020-05-14 11:41       ` Mauro Aranda

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=7A33094E-BD4C-45DE-A57D-F23D50CFC6B4@acm.org \
    --to=mattiase@acm.org \
    --cc=41223-done@debbugs.gnu.org \
    --cc=maurooaranda@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).