当前位置:网站首页>Use and analysis of dot function in numpy
Use and analysis of dot function in numpy
2022-07-07 07:48:00 【Chief prisoner】
stay Python Use in numpy Encountered a function dot function , Point multiplication function , Specific internal principles and usage , Record here :
One dimensional matrix
The first is the operation of one-dimensional matrix :
Its operation is directly multiplied :
One dimensional matrix is actually the multiplication of each corresponding point , Then I add
Two dimensional matrix
The dot product of the corresponding two-dimensional matrix is , If a.dot(b),a The line and the way of life b The number of columns is equal , And every element of the line , Multiply by each element of the column .
The internal principle is :[0 2 3 1] Respectively and [12][12][15][12] Multiply
For the above numpy Inside the warehouse dot Basic principle of function ;
边栏推荐
- Redis data migration
- Outsourcing for three years, abandoned
- The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
- [UTCTF2020]file header
- 外包干了三年,废了...
- [performance pressure test] how to do a good job of performance pressure test?
- 今日现货白银操作建议
- 【数学笔记】弧度
- [Stanford Jiwang cs144 project] lab3: tcpsender
- Resource create package method
猜你喜欢
Idea add class annotation template and method template
1141_ SiCp learning notes_ Functions abstracted as black boxes
Dynamics CRM server deployment - restore database prompt: the database is in use
外包幹了三年,廢了...
1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration
二、并发、测试笔记 青训营笔记
[2022 ciscn] replay of preliminary web topics
Redis data migration
A concurrent rule verification implementation
SQL优化的魅力!从 30248s 到 0.001s
随机推荐
Dynamics CRM server deployment - restore database prompt: the database is in use
[2022 ACTF]web题目复现
Determining the full type of a variable
Jenkins远程构建项目超时的问题
JS get all date or time stamps between two time stamps
[UTCTF2020]file header
../ And/
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
pytest+allure+jenkins环境--填坑完毕
Solution: could not find kf5 (missing: coreaddons dbusaddons doctools xmlgui)
《动手学深度学习》(四) -- 卷积神经网络 CNN
基于Flask搭建个人网站
JS plot flot application - simple curve
海思芯片(hi3516dv300)uboot镜像生成过程详解
Leetcode sword finger offer brush questions - day 20
Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
Zhilian + AV, AITO asked M7 to do more than ideal one
聊聊异步编程的 7 种实现方式
Gslx680 touch screen driver source code analysis (gslx680. C)
numpy中dot函数使用与解析