vector: [ <mtable rowspacing="4pt" columnspacing="1em"> <mtr> <mtd>

Dale Tate

Dale Tate

Answered question

2022-06-20

vector:
[ a b c d e f ]
which I would like to convert into a 2D matrix. Let's arbitrarily say I'd like to ravel along the rows first (fill one row before moving to the next).
[ a b c d e f ]
Is there a series of multiplicative matrix transformations that performs this reshaping, and if so, what is the general name for this operation?

Answer & Explanation

SuefsSeeltHeRn8

SuefsSeeltHeRn8

Beginner2022-06-21Added 8 answers

es, the operation is called matrixication (or the inverse operation of vectorization). From a formal perspective, the space of m × n matrices is isomorphic to the space of m n dimensional vectors. The isomorphism which establishes the the isomorphy is the vectorization operator v e c . This operator turns a matrix into a vector by stacking the columns. Since v e c is am isomorphism, there exists the inverse operation v e c 1 , which turns a vector into a matrix by unstacking the vector.
Mohamed Mooney

Mohamed Mooney

Beginner2022-06-22Added 5 answers

It is not possible to do this by matrix multiplications: If A , B are matrices such that
A v B = ( a b c d e f )
for all v = ( a b c d e f ) , then A must be 3 × 1 and B must be 6 × 2. But then v B is only 1 × 2, which is too small for the six desired dimensions of the final result.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Linear algebra

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?