~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/linear/proj.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH proj 1 "April 1993" "Scilab Group" "Scilab Function"
 
2
.so ../sci.an
 
3
.SH NAME
 
4
proj - projection
 
5
.SH CALLING SEQUENCE
 
6
.nf
 
7
P = proj(X1,X2)  
 
8
.fi
 
9
.SH PARAMETERS
 
10
.TP 12
 
11
X1,X2
 
12
: two real matrices with equal number of columns
 
13
.TP
 
14
P
 
15
: real projection matrix (\fVP^2=P\fR)
 
16
.SH DESCRIPTION
 
17
\fVP\fR is the projection on \fVX2\fR parallel to \fVX1\fR.
 
18
.SH EXAMPLE
 
19
.nf
 
20
X1=rand(5,2);X2=rand(5,3);
 
21
P=proj(X1,X2);
 
22
norm(P^2-P,1)
 
23
trace(P)    // This is dim(X2)
 
24
[Q,M]=fullrf(P);
 
25
svd([Q,X2])   // span(Q) = span(X2)
 
26
.fi
 
27
.SH SEE ALSO
 
28
projspec, orth, fullrf
 
29
.SH AUTHOR
 
30
F. D.
 
31
 
 
32