[Tex/LaTex] Vectorization operator

formattingmath-mode

How can I represent the vectorization of a matrix A (i.e, vec(A))? I am talking about this simple operator:

enter image description here

Best Answer

If all you want is getting something like

vec(A)

then \DeclareMathOperator is the way to go:

\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator{\vect}{vec}

\begin{document}
\[
\vect(A)=[a_{11}\ \dots\  a_{m1}\ \dots a_{12}\ \dots\ a_{m2}\ \dots\ a{n1}\ \dots\ a_{mn}]^T
\]
\end{document}

One has to choose a different name than \vec or \Vec because these already have a meaning.

enter image description here

Related Question