Small changes

release/4.3a0
Frank Dellaert 2009-12-16 19:02:40 +00:00
parent 9efac7b3fb
commit 8cf1b3b055
1 changed files with 9 additions and 1 deletions

View File

@ -14,16 +14,24 @@ spy(A);
% isolate the spanning tree part % isolate the spanning tree part
A1=A(1:3*nnz(tree),:); A1=A(1:3*nnz(tree),:);
% add prior
figure(2) figure(2)
spy(A1) spy(A1)
% calculate % calculate R1
tic tic
R1 = qr(A1,0); R1 = qr(A1,0);
toc toc
figure(3) figure(3)
spy(R1) spy(R1)
% calculate R1
tic
R1 = chol(A1'*A1);
toc
figure(3)
spy(R1)
% calculate the entire R factor (expensive) % calculate the entire R factor (expensive)
tic tic
R = qr(A,0); R = qr(A,0);