QR decomposition: Difference between revisions

Content added Content deleted
(→‎{{header|C}}: fixing several typo which prevent the code to build)
(→‎{{header|C}}: matrix sizes swapped, now the output is correct)
Line 582: Line 582:
{
{
mat R, Q;
mat R, Q;
mat x = matrix_copy(5, in, 3);
mat x = matrix_copy(3, in, 5);
householder(x, &R, &Q);
householder(x, &R, &Q);