



function lhs = mvprod(A,rhs,Gamma,flag) Usage: lhs = mvprod(A,rhs,Gamma,flag); flag = 0: lhs = A_Gamma * rhs otherwise: lhs = A_Gamma' * rhs Matrix vector multiplication using indices of the matrix. Written by: Salman Asif, Georgia Tech


0001 % function lhs = mvprod(A,rhs,Gamma,flag) 0002 % Usage: lhs = mvprod(A,rhs,Gamma,flag); 0003 % flag = 0: lhs = A_Gamma * rhs 0004 % otherwise: lhs = A_Gamma' * rhs 0005 % 0006 % Matrix vector multiplication using indices of the matrix. 0007 % Written by: Salman Asif, Georgia Tech