|
From: | Doug Stewart |
Subject: | Re: trouble with qr function |
Date: | Sun, 3 Jan 2016 16:46:37 -0500 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |