From: texsit <texsit@yahoo.it>
To: cygwin@cygwin.com
Subject: Octave 3.2.3: wrong matrix calculation
Date: Mon, 03 May 2010 08:40:00 -0000 [thread overview]
Message-ID: <877561.49926.qm@web29017.mail.ird.yahoo.com> (raw)
Hi All,
I use octave 3.2.3 under Cygwin (windows 7) for my math application.
I discovered a bad calculation calling the function det(). The step to reproduce is this:
> A = [1,2,3;4,5,6;7,8,9];
> det(A)
ans = -9.5171e-16
The matrix is singular so I expected the resul was 0 and not a very very little number. I problem is the same also with Octave 3.2.4.
At the begin I thougth it was only a round error, but I've made the same proof with Octave under Debian Linux (lenny).
Under Linux the resul has been 0 as I expected.
Can anyone suggest me something to solve that problem?
I'm using Cygwin 1.7.5-1 with Intel centrino 2 and windows 7 64 bit.
Thank you in advance.
Regards.
Luca
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2010-05-03 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 8:40 texsit [this message]
2010-05-03 12:42 ` R: " Marco Atzeri
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=877561.49926.qm@web29017.mail.ird.yahoo.com \
--to=texsit@yahoo.it \
--cc=cygwin@cygwin.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.
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).