文件名称: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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
