view util/classes/@dictionary/mtimes.m @ 183:0d7a81655ef2 danieleb

removed cumulative coherence calculation
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Fri, 27 Jan 2012 13:15:11 +0000
parents e3035d45d014
children
line wrap: on
line source
function C = mtimes(A,B)
isAdic = strcmp(class(A),'dictionary');
isBdic = strcmp(class(B),'dictionary');
if isAdic && ~isBdic
    C = A.phi*B;
elseif isBdic && ~isAdic
    C = A*B.phi;
elseif isAdic && isBdic
    C = A.phi*B.phi;
end
end