function mbvector(a)
%MBVECTOR Must be vector.
%   The statement
%
%       mbvector(x)
%
%   asserts that, at that point in the computation, the variable x has
%   size m-by-1 or 1-by-n.  If this assertion is false, an error occurs;
%   if this assertion is true, the computation proceeds.
%
%   See also MBINT, MBINTSCALAR, MBINTVECTOR, MBREAL, MBREALSCALAR, 
%            MBREALVECTOR, MBSCALAR.

% $Revision: 1.10 $  $Date: 2000/06/19 16:57:12 $
% Copyright 1984-2000 The MathWorks, Inc.

% We are allowing "a" to be a 0x0 empty here for backward
% compatibility with previous revisions of mbvector.
if ndims(a) > 2 | (size(a, 1) > 1 & size(a, 2) > 1)
    error( 'Argument to mbvector must be a vector.' );
end
