Home  >  Article  >  Backend Development  >  How to install batch download in python

How to install batch download in python

步履不停
步履不停Original
2019-07-02 11:30:143025browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is python slicing?Next article:What is python slicing?