function f = isrowvector(m)

% function f = isrowvector(m)
%
% <m> is a matrix
%
% return whether <m> is 1 x n where n >= 0.
% specifically:
%   f = isvector(m) & size(m,1)==1;
%
% example:
% isrowvector([1 2])
% isrowvector([1])
% isrowvector(zeros(1,0))
% ~isrowvector([])

f = isvector(m) & size(m,1)==1;

cvnlab
github-repos/MATLAB/cvnlab-GLMsingle/GLMsingle-e37bbc9f26362094e3a574f8d6c2156f5fa92077/matlab/utilities/isrowvector.m
GLMsingle
github-repos/MATLAB/cvnlab-GLMsingle
e37bbc9f26362094e3a574f8d6c2156f5fa92077