Formal notation for number of rows/columns in a matrix Is there a generally accepted formal notation for denoting the number of columns a matrix has (e.g to use in pseudocode/algorithm environment in LaTeX)? Something I could use in the description of an algorithm like: 
if horizontaldim(V) > x then
end if

or 
if size(V,2) > x then 
end if

or should I just use a description like
if number of columns in V > x then
end if


None that I know of, but I've seen numerical linear algebra books (e.g. Golub and Van Loan) just say something like $V\in\mathbb{R}^{m\times n}$ for a matrix V with m rows and n columns, and then use m and n in the following algorithm description.
MATLAB notation, which some other people use, just says rows(V) and columns(V).
