搜索资源列表
-
0下载:
给定n个矩阵构成的一个链<A1,A2,…,An>其中i=1,2,…,n,矩阵Ai的维数为pi-1pi,对乘积A1A2…An以一种最小化标量乘法次数的方式进行加全部括号。该问题应用动态规划算法-N matrix of a given composition of a chain <A1,A2,…,An> Which i = 1,2, ..., n, the dimension of the matrix Ai is pi-1pi, on the product A1A2 .
-
-
0下载:
this a matrix chain multiplication ...in c code-this is a matrix chain multiplication ...in c code
-
-
0下载:
Descr iption
给定一个有N个矩阵的矩阵链A1A2A3...An,矩Ai的维数为pi-1*pi。我们都知道,使用朴素的矩阵乘法去乘两个维数分别为x,y和y,z的矩阵,所需要的乘法次数为x*y*z。矩阵链乘法问题就是如何对矩阵乘积加括号,使得它们的乘法次数达到最少。
Input
输入的第一行为一个正整数N(1<=N<=200)。表示矩阵的个数。
输入的第二行包含N+1个整数,分别表示pi(0<=i<=N),其中每个pi在[1
-
-
0下载:
my code compute matrix chain multiplication
-
-
0下载:
用VS2010的矩阵链乘问题的算法实现。
实现功能:
1、文件读取,文本解析后显示矩阵链组成
2、显示数组,显示最优解。
文件在压缩包内
-Matrix chain multiplication using VS2010 problem algorithm. Function: 1, file read, parsed text display matrix composed of two chains, showing the array, showing the opti
-
-
0下载:
算法试验中的第三次试验,实验内容为矩阵连乘,算法实现了矩阵连乘中的一些功能-Algorithm third test trials, even experimental content matrix multiplication algorithm even by some of the features matrix
-
-
0下载:
动态规划法之矩阵链乘问题,算法导论(第二版)第十五章内容-Matrix chain multiplication problem of dynamic programming algorithm Introduction (Second Edition) Chapter XV content
-
-
0下载:
这个是算法作业,C#全套代码,环境是vs2010,矩阵链乘积问题,有界面,导入矩阵链的规模文件,自动给出括号的添加方案。-This is the arithmetic operations, C# full set of code, the environment is vs2010, Matrix chain multiplication problem, the interface, the size of the file to import chain matrix automatica
-
-
0下载:
动态规划之矩阵连乘问题——怎么乘运算量最小?-Dynamic Programming for matrix chain multiplication.
-
-
0下载:
矩阵链乘: P=a1×a2×a3×……×an,依据乘法结合律,不改变其顺序,只用括号表示成对的乘积,试问有几种括号化的方案?(h(n)种)
出栈次序问题。-Matrix chain multiplication: P=a1* A2* A3*......* an, according to the multiplication with law, does not change the order, the brackets only representation of the pairwis
-
-
0下载:
用c语言实现一个矩阵链乘积算法,并输出最优括号方案-The realization of a matrix chain multiplication algorithm with c language program brackets and the optimal output
-
-
0下载:
中国科大算法导论课程实验三,矩阵链乘,可直接使用-China HKUST course Introduction to Algorithms third experiment, the chain matrix multiplication can be used directly
-
-
0下载:
按下面的格式要求用户输入摄氏温度值;定义一个Circle类,有数据成员Radius(半径);根据坐标求矩阵面积;矩阵链乘;设计并测试一个名为Rectangle的矩形类-In the following format requires the user to enter the Celsius temperature value defines a Circle class, the data Members of the Radius (radius) The Matrix area bas
-