|
From: | Doug Stewart |
Subject: | Re: [Octave-bug-tracker] [bug #42512] polyfit function produces error |
Date: | Thu, 5 Jun 2014 09:56:49 -0400 |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.Follow-up Comment #2, bug #42512 (project octave):
Hi,
thanks for the answer, the output for your commands below. I am running Octave
3.8.1, I compiled it myself from the official sources to enable 64bit support.
My OS is the current Ubuntu 14.04 LTS.
%%%%%%%%%%%%%%%%%
dbstop polyfit 114
ans = 114
octave:2> polyfit ([0 1 2], [0 1 4], 2)
stopped in /opt/octave3.8/share/octave/3.8.1/m/polynomial/polyfit.m at line
114
114: [q, r, k] = qr (v(:, polymask), 0);
debug> type qr
qr is a dynamically-linked function
debug> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
ans 1x1 8 double
a argn 3x9 27 char
l 1x1 8 double
m 1x1 8 double
f n 1x1 8 double
polymask 1x3 3 logical
v 3x3 72 double
f x 3x1 24 double
f y 3x1 24 double
y_is_row_vector 1x1 1 logical
Total is 50 elements using 183 bytes
debug> qr
error: Invalid call to qr. Correct usage is:
-- Loadable Function: [Q, R, P] = qr (A)
-- Loadable Function: [Q, R, P] = qr (A, '0')
-- Loadable Function: [C, R] = qr (A, B)
-- Loadable Function: [C, R] = qr (A, B, '0')
error: called from:
error: /opt/octave3.8/share/octave/3.8.1/m/help/print_usage.m at line 85,
column 5
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42512>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |