% Function compares vector to each row or column of matrix
%
% The function compares the given vector to each row or column of the
% given matrix, where row or column depends on the specified dimension.
% It returns an array where an entry i is true, if the given vector is
% equal to i'th row or column of the matrix, otherwise false.
%
% INPUT PARAMETERS
%   a_Vector - Row or column vector
%   m_Matrix - Matrix
%   i_Dimension - 1 for column comparison, 2 for row comparison
%
% OUTPUT PARAMETERS
%   b_DimensionEquals - Logical array where entry i is true, if a_Vector
%               is equal to i'th row or column of the matrix, otherwise
%               false. In column comparison this is a row vector and in
%               row comparison this is a column vector.
%
