当前位置:网站首页>Dynamic programming | matrix multiplication
Dynamic programming | matrix multiplication
2022-07-18 05:03:00 【@Misty rain fell on the city】
problem :
1、 Problem analysis
The matrix multiplication problem is for a given n A matrix of continuous multiplication , Find a way to add parentheses , Minimize the even quantity of matrix multiplication .
(1) So what is matrix multiplicative ?
If two matrices , The first 1 The column of the first matrix is equal to 2 Row time of matrix , Then these two matrices are multiplicative , If 4-41 Shown .

(2) What is the result of matrix multiplication ?
The result matrix of multiplication of multiple matrices , The line is 、 The columns are equal to 1 Rows of a matrix 、 Last 1 Columns of a matrix , Pictured 4-41 Shown .

(3) How many times does it take to multiply two matrices ?
For example, two matrices A(3x2)、B(2x4)
Multiply , The execution process is as shown in the figure 4-43 Shown , Then we will execute it altogether 3 * 2 * 4 = 24 Secondary multiplication . therefore ,A(mxn)
边栏推荐
- EN 1090-1钢结构和铝结构施工结构构件—CE认证
- 一图看懂:国企数字化转型4个方向3个战略
- uni-app请求获取数据
- (PC+WAP)织梦模板防水建材类网站
- log4j.properties 日志详解
- Implementing DDD based on ABP -- aggregation and aggregation root practice
- LeetCode_ Sliding window_ Binary search_ Medium_ 713. Subarray with product less than k
- Niuke 2021 summer training 4-j-average
- 博客园美化教程
- The distant savior obeys the objective law (I) -- what can be done to Wangmiao village
猜你喜欢

全球云市场增势迅猛,数据安全进入法治化的强监管时代

ASTM e595-15 (2021) outgassing latest standard for degassing test

Cookies and sessions

Huawei cloud stack opens its framework to the south to help ecological partners enter the cloud efficiently

动态内存函数和常见的动态内存错误

3、 Index optimization

EN 1317-5 Road restraint system products - CE certification

A 59 year old doctor studying in the United States, today received his fifth listed company

一图看懂:国企数字化转型4个方向3个战略

【SpaceNet】SN6:Multi-Sensor All-Weather Mapping
随机推荐
Distributed transaction integration netcore Cap
What is server memory? How to select server memory?
The global cloud market is growing rapidly, and data security has entered a strong regulatory era of rule of law
Start of u-boot S analysis (I)
聊一聊Spark实现TopN的几种方式
H5 cloud image background reading and writing CAD files - Online CAD, web CAD, web browsing and editing CAD
C#文件和文件夹输入输出流代码
Niuke 2021 summer training 3-j-counting triangles
什么是服务器内存?如何选择服务器内存?
创建线程的方式
sentinel1.8.4 持久化nacos配置
Experience first! What kind of experience is it to write fluent in the browser?
hbuilder提交代码
争议中的换电:头部玩家的有限游戏
718. Longest repeating subarray
抢先体验! 在浏览器里写 Flutter 是一种什么体验?
Sword finger offer15 number bit operation of 1 in binary
LeNet
树和二叉树
Niuke 2021 summer training 8-f-robots

