File: fullrf.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (41 lines) | stat: -rw-r--r-- 954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

fullrf(1)                      Scilab Function                      fullrf(1)
NAME
  fullrf - full rank factorization

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

PARAMETERS

  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'.

EXAMPLE
  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, qr, fullrfk, rowcomp, colcomp

AUTHOR
  F.D.