[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrice
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices |
Date: |
Mon, 1 Jul 2019 09:59:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?56569>
Summary: Inconsistent error with larger matrices
Project: GNU Octave
Submitted by: None
Submitted on: Mon 01 Jul 2019 01:59:24 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Mark van Rossum
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.1
Operating System: GNU/Linux
_______________________________________________________
Details:
The script below calculates a simple matrix product
p=M.a
For the larger matrices the output fluctuates across the elements in vector
p.
Works fine on Matlab, and Octave 4.2.2 on another computer.
------
# this goes ok. All elements in the vector p are the same.
N=100
M=50
m=ones(N,M);
a=ones(M,1);
p=m*a;
mean(p)
var(p) # should be zero
# this goes wrong. The elements in the vector p vary.
N=1000
M=500
m=ones(N,M);
a=ones(M,1);
p=m*a;
mean(p)
var(p) # should be zero
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56569>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices,
anonymous <=
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Doug Stewart, 2019/07/01
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Mike Miller, 2019/07/01
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Mark van Rossum, 2019/07/01
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Dmitri A. Sergatskov, 2019/07/01
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Sébastien Villemot, 2019/07/02
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Mark van Rossum, 2019/07/02
- [Octave-bug-tracker] [bug #56569] Inconsistent error with larger matrices, Mike Miller, 2019/07/02