- transparent 在透明背景上绘制位图
- MS08-067 Utilize 08067 loophole of Microsoft to make the function which connect the port
- Matrix 使用c++实现矩阵的各种运算
- Sudoku_my This simple game sudoku. This program can create sudoku and also solve its own sudoku. You fill fields using drag
- music(2) 使用MATLAB软件对智能天线进行DOA估计的MUSIC算法仿真研究
- matlab_instances <matlab教程>当中的源代码
文件名称:matrixChain
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:14.24kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
问 题:矩阵连乘问题
描 述:给定n个矩阵{A1,A2,...,An},其中Ai与Ai+1是可乘的,i=1,2…,n-1.考察这n个矩阵的连乘积A1A2...An。矩阵A 和B可乘的条件是矩阵A的列数等于矩阵B的行数。若A是一个p x q矩阵,B是一个q * r矩阵,则其乘积C=AB是一个p * r矩阵,需要pqr次数乘。
编程任务:对于给定的相继n个矩阵{A1,A2, ..., An }及其维数,编程计算矩阵连乘积A1A2...An 需要的最少数乘次数。
-Question: Even by the issue of Matrix Descr iption: given n matrices (A1, A2 ,..., An), which Ai and Ai+ 1 is the multiplicative, i = 1,2 ..., n-1. Visit this n Even a matrix product A1A2 ... An. Matrix A and B take the condition that the matrix A the number of rows equal to the number of rows of matrix B. If A is a pxq matrix, B is a q* r matrix, then their product C = AB is a p* r matrix, the need to take the number of pqr. Programming tasks: one after another for a given n matrices (A1, A2, ..., An) and its dimension, programming computing matrix product A1A2 ... An even needed by the number of at least a few.
描 述:给定n个矩阵{A1,A2,...,An},其中Ai与Ai+1是可乘的,i=1,2…,n-1.考察这n个矩阵的连乘积A1A2...An。矩阵A 和B可乘的条件是矩阵A的列数等于矩阵B的行数。若A是一个p x q矩阵,B是一个q * r矩阵,则其乘积C=AB是一个p * r矩阵,需要pqr次数乘。
编程任务:对于给定的相继n个矩阵{A1,A2, ..., An }及其维数,编程计算矩阵连乘积A1A2...An 需要的最少数乘次数。
-Question: Even by the issue of Matrix Descr iption: given n matrices (A1, A2 ,..., An), which Ai and Ai+ 1 is the multiplicative, i = 1,2 ..., n-1. Visit this n Even a matrix product A1A2 ... An. Matrix A and B take the condition that the matrix A the number of rows equal to the number of rows of matrix B. If A is a pxq matrix, B is a q* r matrix, then their product C = AB is a p* r matrix, the need to take the number of pqr. Programming tasks: one after another for a given n matrices (A1, A2, ..., An) and its dimension, programming computing matrix product A1A2 ... An even needed by the number of at least a few.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
matrixChain.cpp
矩阵连乘.doc
矩阵连乘.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.