[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45196] gallery: raises error when calling ran
From: |
Antonio Pino Robles |
Subject: |
[Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat. |
Date: |
Tue, 26 May 2015 22:38:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?45196>
Summary: gallery: raises error when calling randsvd, pei,
kms, hanowa, gearmat.
Project: GNU Octave
Submitted by: antoniopino
Submitted on: Tue 26 May 2015 10:38:06 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0-rc4
Operating System: GNU/Linux
_______________________________________________________
Details:
randsvd, pei, kms, hanowa, gearmat functions in gallery.m raise error when
called. These were the outputs when called and the corresponding solutions.
gallery('randsvd',4)
error: 'qmult' undefined near line 2271 column 9
error: called from
gallery>randsvd at line 2271 column 7
gallery at line 486 column 45
Which was solved by adding the GPL'd file qmult.m, note that randsvd is part
of N. J. Higham's Test Matrix Toolbox (3.0).
>> gallery('pei',4)
error: 'w' undefined near line 2018 column 24
error: called from
gallery>pei at line 2018 column 3
gallery at line 475 column 44
error: evaluating argument list element number 1
error: called from
gallery>pei at line 2018 column 3
gallery at line 475 column 44
>> gallery('kms',3)
error: 'mu' undefined near line 1608 column 23
error: called from
gallery>kms at line 1608 column 3
gallery at line 461 column 44
error: evaluating argument list element number 1
error: called from
gallery>kms at line 1608 column 3
gallery at line 461 column 4
>> gallery('hanowa',4)
error: 'lambda' undefined near line 1274 column 24
error: called from
gallery>hanowa at line 1274 column 3
gallery at line 453 column 44
error: evaluating argument list element number 1
error: called from
gallery>hanowa at line 1274 column 3
gallery at line 453 column 44
-verbatim+
The last one, 'gearmat', was trickier. Boolean operations needed rewiring:
>> gallery ('gearmat',3)
error: gallery: I must be a nonzero scalar, and abs (I) <= N for gearmat
matrix.
error: called from
gallery>gearmat at line 1219 column 5
gallery at line 450 column 44
A .diff is attached. I have also written a test (with the aid of block editing
in vim) for each function in the gallery to check that the rest are OK.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 26 May 2015 10:38:06 PM GMT Name: gllry.diff Size: 9kB By:
antoniopino
<http://savannah.gnu.org/bugs/download.php?file_id=34101>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45196>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat.,
Antonio Pino Robles <=
- [Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat., Carnë Draug, 2015/05/27
- [Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat., Antonio Pino Robles, 2015/05/28
- [Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat., Carnë Draug, 2015/05/30
- [Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat., Antonio Pino Robles, 2015/05/30
- [Octave-bug-tracker] [bug #45196] gallery: raises error when calling randsvd, pei, kms, hanowa, gearmat., Carnë Draug, 2015/05/30