0
Tranform a matrix into a vector
If I have a matrix like this: 1 2 3 5 7 8 And I want to transform it into a unique vector like this: 1 2 3 5 7 8 How can I do it with python code for a generic matrix with i rows and j columns? Any ideas? Thank you
3 Réponses
+ 1
sorry i am in 10 grade and i doesn't understand
0
https://code.sololearn.com/cCxDbH7t1RTu/?ref=appare
Abhay Thanks, this can be usefull. But finally, I have written this code. What do you think about it? I'm not an expert, so it could probably be improved and optimized. I accept advice on this.