Reputation: 391
I am beginner in python. I have a 3*3 matrix .I want to perform certain operations in that matrix, like matrix multiplication addition etc. I have represented my matrix as a list of lists as given below:
mat =[[23,45],[45,67],[24,56]]
Is there any inbuilt function for list to perform matrix multiplication, or do I need to write a separate function for it? Is there any better way to multiply two matrix?
Upvotes: 0
Views: 81