1
im_inv Scilab Group Scilab Function im_inv
6
[X,dim]=im_inv(A,B [,tol])
7
[X,dim,Y]=im_inv(A,B, [,tol])
9
A,B : two real or complex matrices with equal number of columns
11
X : orthogonal or unitary square matrix of order equal to the
12
number of columns of A
14
dim : integer (dimension of subspace)
16
Y : orthogonal matrix of order equal to the number of rows of A
24
i.e vectors whose image through A are in range(B)
26
The dim first columns of X span
30
tol is a threshold used to test if subspace inclusion; default value is
31
tol = 100*%eps. If Y is returned, then [Y*A*X,Y*B] is partitioned as
34
[A11,A12;0,A22],[B1;0]
35
where B1 has full row rank (equals rank(B)) and A22 has full column rank
39
A=[rand(2,5);[zeros(3,4),rand(3,1)]];B=[[1,1;1,1];zeros(3,2)];
40
W=rand(5,5);A=W*A;B=W*B;
42
svd([A*X(:,1:dim),B]) //vectors A*X(:,1:dim) belong to range(B)
43
[X,dim,Y]=im_inv(A,B);[Y*A*X,Y*B]
45
rowcomp, spaninter, spanplus, linsolve