How to install batch download in python

步履不停
Release: 2019-07-02 11:30:14
Original
3020 people have browsed it

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) )
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!