1

I am reshaping matrices into a single vector. This is the function that I am using. Is there a conventional symbol for this operation (latex command)?

aiao
  • 291

1 Answers1

1
  1. This is typically denoted by the operator $\text{vec}(\cdot)$.

  2. In MATLAB, you could also just use the built-in colon operator (e.g. b = A(:)), which will stack entries of a matrix in column-major order.

Ross B.
  • 1,856
  • 10
  • 16