vec

PURPOSE ^

vec : Vectorize input

SYNOPSIS ^

function r=vec(x)

DESCRIPTION ^

 vec : Vectorize input
 r=vec(x)

 Returns vectorized version of input. 

 Inputs :
 x - matrix input

 Outputs:
 r - vectorized output

 This file is part of BPDQ Toolbox (Basis Pursuit DeQuantizer)
 Copyright (C) 2009, the BPDQ Team (see the file AUTHORS distributed with
 this library) (See the notice at the end of the file.)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % vec : Vectorize input
0002 % r=vec(x)
0003 %
0004 % Returns vectorized version of input.
0005 %
0006 % Inputs :
0007 % x - matrix input
0008 %
0009 % Outputs:
0010 % r - vectorized output
0011 %
0012 % This file is part of BPDQ Toolbox (Basis Pursuit DeQuantizer)
0013 % Copyright (C) 2009, the BPDQ Team (see the file AUTHORS distributed with
0014 % this library) (See the notice at the end of the file.)
0015 
0016 function r=vec(x)
0017 r=x(:);
0018 
0019 % The BPDQ Toolbox is free software: you can redistribute it and/or modify
0020 % it under the terms of the GNU General Public License as published by
0021 % the Free Software Foundation, either version 3 of the License, or
0022 % (at your option) any later version.
0023 %
0024 % The BPDQ Toolbox is distributed in the hope that it will be useful,
0025 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0026 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0027 % GNU General Public License for more details.
0028 %
0029 % You should have received a copy of the GNU General Public License
0030 % along with The BPDQ Toolbox.  If not, see <http://www.gnu.org/licenses/>.

Generated on Mon 06-Jul-2009 14:16:10 by m2html © 2003