Python realizes matrix dot product, transpose and inversion

1. The tool we are going to use is still the most familiar jupyter notebook

2. Come and show:

#Call numpy calculation library

 

 #Input matrix

#Singular matrix Singular matrix is ​​not invertible#
E = inv(A) is not invertible

 

 #Print results

 

 

 I hope I can help everyone, I ask you if you want a like, will you give it, thank you all.
Copyright statement: The copyright of this article belongs to the author (@攻城狮小关) and CSDN. Welcome to reprint, but you must keep this paragraph without the author’s consent Statement, and provide the original link in an obvious place on the article page, otherwise the right to pursue legal responsibility is reserved.
It is not easy for everyone to write articles, please respect the fruits of labor~ 
Communication plus Q: 1909561302
Blog Park Address https://www.cnblogs.com/guanguan-com/

Guess you like

Origin blog.csdn.net/Mumaren6/article/details/108689066