linear_algebra qr() is underspecified in documentation @ http://www.scilab.org/p
Reported by Bernard HUGUENEY
Originally assigned to Charlotte HECQUET
-- Bug description --
linear_algebra qr() is underspecified in documentation @ http://www.scilab.org/product/man/qr.html wrt to economy mode "e" and request for rank :
[Q,R,rk,E]=qr(A,'e') behavior is not documented but scilab accepts it. However 'e' is silently ignored (i.e. Q and R are not computed on 'economy mode' and have M X N dimensions).
If economy mode is meaningless when asking for rank, scilab should complain, otherwise, scilab should honor the 'e' parameter. Either way, I think it should be documented.
-- Scilab error message --
N/A
-- How to reproduce the bug --
A
A =
1. 2.
3. 4.
5. 6.
[Q,R,E]=qr(A,'e');size(Q), size(R)
ans =
3. 2.
ans =
2. 2.
[Q,R,rk,E]=qr(A,'e');size(Q), size(R)
ans =
3. 3.
ans =
3. 2.