Doxygen Source Code Documentation
termsnotcontained.m
Go to the documentation of this file.00001 function m = termsnotcontained(t)
00002 %TERMSNOTCONTAINED Creates a logical matrix indicating term containment
00003 % m(i,j)==1 iff t(i) is not contained by t(j)
00004 % set diagonals to 1 because we want proper containment
00005
00006 m = (t*~t') > 0;
00007 m(1:(size(t,1)+1):end) = 1;