File: proj.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 (30 lines) | stat: -rw-r--r-- 533 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

proj(1)                        Scilab Function                        proj(1)
NAME
  proj - projection

CALLING SEQUENCE
  P = proj(X1,X2)

PARAMETERS

  X1,X2       : two real matrices with equal number of columns

  P           : real projection matrix (P^2=P)

DESCRIPTION
  P is the projection on X2 parallel to X1.

EXAMPLE
  X1=rand(5,2);X2=rand(5,3);
  P=proj(X1,X2);
  norm(P^2-P,1)
  trace(P)    // This is dim(X2)
  [Q,M]=fullrf(P);
  svd([Q,X2])   // span(Q) = span(X2)

SEE ALSO
  projspec, orth, fullrf

AUTHOR
  F. D.