登录
首页 » 算法 » 矩阵连乘积的加括号方式数

矩阵连乘积的加括号方式数

于 2023-02-06 发布 文件大小:233.06 kB
0 155
下载积分: 2 下载次数: 1

代码说明:

资源描述给定n个矩阵{A1,…,An},其中Ai和Ai+1可乘,i=1,2,…,n-1。考察矩阵连乘积加括弧的方式数。 如四个矩阵连乘积A1A2A3A4,共有五种不同的加括弧方式: ( A1 ( A2 ( A3 A4 ) ) ) ( A1 ( ( A2 A3 ) A4 ) ) ( ( A1A2 ) ( A3 A4 ) ) ( A1 ( A2 A3 ) A4 ) ( ( ( A1 A2 ) A3 ) A4 ) 输入示例: 4 输出示例: 5

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • F020温度程序
    本例程是应用F020开发板,测试环境温度的程序。方便修改,引脚设置简单,备注清楚明白,方便大家使用。温度芯片是18B20,也可以修改成其他方式。
    2022-02-06 04:27:00下载
    积分:1
  • 用全选主元高斯
    用全选主元高斯-约当消去发求解系数矩阵为稀疏矩阵的方程组-Select All PCA with Gaussian- about when fat elimination for solving sparse matrix for the coefficient matrix of equations
    2022-11-25 19:35:03下载
    积分:1
  • 人脸追踪 FaceTrace
    应用背景 人脸识别 人脸追踪 The software is provided under the terms of this licence stricly for //       academic, non-commercial, not-for-profit purposes. //     * Redistributions of source code must retain the above copyright notice,  //       this list of conditions (licence) and the following disclaimer. //     * Redistributions in binary form must reproduce the above copyright  //       notice, this list of conditions (licence) and the following disclaimer  //       in the documentation and/or other materials provided with the  //       distribution. //     * The name of the author may not be used to endorse or promote products  //       derived from this software without specific prior written permission. //     * As this software d
    2022-08-14 06:55:42下载
    积分:1
  • 二叉树的递归与非递归遍历(Java描述),高效实现Josephus,合并有序链表,基于队列实现的基数排序,栈.回溯.迷宫问题求解。5个的源程序。...
    二叉树的递归与非递归遍历(Java描述),高效实现Josephus算法,合并有序链表,基于队列实现的基数排序,栈.回溯.迷宫问题求解。5个算法的源程序。-Recursive and non recursive binary tree traversal (Java description), efficient algorithms to achieve Josephus, merging sorted linked list, queue-based implementation of radix sort, stack. Backtracking. Maze problem-solving. 5 algorithm source code.
    2022-04-25 12:32:36下载
    积分:1
  • 地震路线绘制
    用fortran语言,编制地震波路径,帮助理解地震成像。可以看到反演的路径是怎样的。
    2022-03-17 05:15:11下载
    积分:1
  • 基于lms的系统辨识的matlab仿真有点小问题
    基于lms的系统辨识的matlab仿真有点小问题-Based on the LMS system identification of the matlab simulation a bit small problem
    2022-10-18 20:30:03下载
    积分:1
  • Affinity Propagation 自相似传播聚类源码!
    Affinity Propagation 自相似传播聚类源码!-Affinity Propagation Clustering dissemination of self-similar source!
    2023-08-21 18:20:04下载
    积分:1
  • 高斯 - 赛德尔ITERATAIVE技术
    To solve Ax = b given an initial approximation x(0).**   INPUT:   the number of equations and unknowns n; the entries*            A(I,J), 1
    2022-01-21 21:36:23下载
    积分:1
  • 三角分解,对于数值计的朋友可能会有一定的帮助
    三角分解法,对于数值计算的朋友可能会有一定的帮助-triangular decomposition method for the numerical calculation of a friend may be of some help
    2023-05-08 10:25:03下载
    积分:1
  • 深度搜索 dfs
    深度优先遍历图的方法是,从图中某顶点v出发: (1)访问顶点v; (2)依次从v的未被访问的邻接点出发,对图进行深度优先遍历;直至图中和v有路径相通的顶点都被访问; (3)若此时图中尚有顶点未被访问,则从一个未被访问的顶点出发,重新进行深度优先遍历,直到图中所有顶点均被访问过为止。 当然,当人们刚刚掌握深度优先搜索的时候常常用它来走迷宫.
    2022-10-19 18:20:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载