Can anyone show me how to set all matrix rows to variables.
For example,
I have matrix w={{1,2,3},{3,2,1},{0,0,0}}
and I need to set each matrix row to be separate variable that contains the row number of matrix w
in its name.
For example,
t1={1,2,3} t2={3,2,1} t3={{0,0,0}
.
Simply it could be done by writing t1=w[[1]]
..., but i have 40 matrices with 200 rows so i need someone to help me do this more efficiently.
Variables represents weights in constrained optimization.
Thanks in advance.