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

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Mattias Engdegård <mattiase@acm.org> writes:

> 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).

I see.  Yes, using a fraction-free algorithm would be good.  But for the
moment, getting bc(ad-1) as the result is one `j M' away.

[-- Attachment #2: Type: text/html, Size: 743 bytes --]

      parent reply	other threads:[~2020-05-14 11:41 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
2020-05-14  9:56       ` Mattias Engdegård
2020-05-14 11:49         ` Mauro Aranda
2020-05-14 11:41       ` Mauro Aranda [this message]

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=CABczVwemMQiq3UaTnB54gV-FxN2vmjmiwD-Hv9PSeN__KzN+-A@mail.gmail.com \
    --to=maurooaranda@gmail.com \
    --cc=41223@debbugs.gnu.org \
    --cc=mattiase@acm.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 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).