view util/classes/@dictionary/mtimes.m @ 224:fd0b5d36f6ad danieleb

Updated the contents of this branch with the contents of the default branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 12 Apr 2012 13:52:28 +0100
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