Mar-02-2019, 04:45 PM
(Mar-01-2019, 10:46 PM)ichabod801 Wrote: It's incredibly simple to transpose a 2D matrix in Python:
transposed = zip(*matrix)It's so simple, that if you are working in 1D, I would suggest converting to 2D to do the transposition.
How can I convert the C Matrix into a 2D Matrix though? Sorry, this is my first semester ever in compsci so I am so lost right now.