[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trouble with qr function
From: |
ken1866 |
Subject: |
trouble with qr function |
Date: |
Sun, 3 Jan 2016 09:31:39 -0800 (PST) |
I'm trying out the qr function in Octave version 4.0. According to the user
guide page 474, the following is a valid usage: [C, R]=qr(A,B,'0'), but I
get an error when trying it:
printf("Octave version = %s\n",version);
A = [1, 2; 3, 4]
B = [0.2; 4]
[C, R] = qr (A, B, '0')
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')
Oddly, the error message says that valid usage is exactly what I tried.
What's going on?
--
View this message in context:
http://octave.1599824.n4.nabble.com/trouble-with-qr-function-tp4674284.html
Sent from the Octave - General mailing list archive at Nabble.com.
- trouble with qr function,
ken1866 <=