Home > Article > Backend Development > How to install batch download in python
Python is a computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.
You can refer to the following code:
import numpy as np a=np.array([[complex(1,-1),3],[2,complex(1,1)]]) print(a) print("矩阵2的范数") print(np.linalg.norm(a,ord=2) ) #计算矩阵2的范数 print("矩阵1的范数") print(np.linalg.norm(a,ord=1) ) #计算矩阵1的范数 print("矩阵无穷的范数") print(np.linalg.norm(a,ord=np.inf) )
Related tutorial recommendations: Python video tutorial
The above is the detailed content of How to install batch download in python. For more information, please follow other related articles on the PHP Chinese website!