Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Linear Algebra > Kernel > fullrf

fullrf

full rank factorization

Syntax

[Q,M,rk]=fullrf(A,[tol])

Arguments

A

real or complex matrix

tol

real number (threshold for rank determination)

Q,M

real or complex matrix

rk

integer (rank of A)

Description

Full rank factorization : fullrf returns Q and M such that A = Q*M with range(Q)=range(A) and ker(M)=ker(A), Q full column rank , M full row rank, rk = rank(A) = #columns(Q) = #rows(M).

tol is an optional real parameter (default value is sqrt(%eps)). The rank rk of A is defined as the number of singular values larger than norm(A)*tol.

If A is symmetric, fullrf returns M=Q'.

Examples

A=rand(5,2)*rand(2,5);
[Q,M]=fullrf(A);
norm(Q*M-A,1)
[X,d]=rowcomp(A);Y=X';
svd([A,Y(:,1:d),Q])        //span(Q) = span(A) = span(Y(:,1:2))

See also

  • svd — singular value decomposition
  • qr — QR decomposition
  • fullrfk — full rank factorization of A^k
  • rowcomp — row compression, range
  • colcomp — column compression, kernel, nullspace
Report an issue
<< colcomp Kernel fullrfk >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:02:43 CET 2017