view util/classes/@dictionary/mtimes.m @ 182:f8bc99a5470c danieleb

Added test for audio buffer function
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Mon, 09 Jan 2012 12:58:00 +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