搜索资源列表
计算圆周率
- 计算圆周率 Pi (π)值, 精确到小数点后 10000 位 只需要 30 多句代码!-Pi calculated pi () values, accurate to 10,000 decimal places only need more than 30 sentence code!
计算两时间间有多少天
- 计算两天之间有多少天,可以跨年。很好用的两天之间计算
计算24点
- 此为本人做的数据结构课程设计 含计算24点的源程序及报告书
计算10000以内的阶乘
- 计算10000以内的阶乘,计算阶乘的程序-calculation 10,000 within the factorial calculated factorial procedure
数值计算常用算法
- 由数值计算方法的一些常用算法,其中包括一些数值拟和-by numerical calculation of some common algorithms, including some numerical fitting
一元稀疏多项式的计算
- 一元多项式的计算,建立两个多项式,并进行相加,相减运算,输出结果.参考资料:严蔚敏《数据结构与算法》-one yuan polynomial calculations, the establishment of two polynomials, and together, subtract operation, the output results. References : Yan Wei Min "data structure and algorithm"
表达式计算(加减乘除与或非及括号)C语言
- 参考书c语言版得严蔚敏的数据结构 利用堆栈实现根据表达式运算符优先级比较完成正确的计算 程序设计有运算符优先级表可以自己设定运算符优先级
利用四阶龙格-库塔公式计算常微分初值问题的数值解
- 利用四阶龙格-库塔公式计算常微分初值问题的数值解,The use of fourth-order Runge- Kutta ordinary differential formula of the numerical solution of initial value problem
point_to_line.rar
- 计算点到直线的距离.输入两点坐标确定一个直线,再输入一个点的坐标,计算该点到直线的距离.,Calculated point to the straight line distance. Enter the coordinates of two points determine a straight line, and then input the coordinates of a point, to calculate the straight-line distance between poi
Computational_Geometry.rar
- 资料是陈海丰的计算几何资料,有很多计算几何代码模板便于参考学习,Chen Haifeng information is information on the computational geometry, computational geometry, many ease of reference to study the template code
unstruc.rar
- 非结构网格生成程序,计算流体动力学,网格生成十分方便,Unstructured grid generation procedure, computational fluid dynamics, grid generation is very convenient
容量计算V1.1
- 容量计算V1.1.rar
流函数计算
- 流函数计算.rar
栈类
- 栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。- The stack (stack)
PARD
- 大规模稀疏矩阵的求解是高性能计算中的一个常见问题。本文介绍了用直接法求解矩阵的一些问题以及使用Intel MKLPARDISO 接口求解稀疏矩阵的方法。 -Large-scale sparse matrix is a high-performance computing to solve a common problem. This paper introduces the direct matrix method and the use of some of the problems In
jiayouzhanwenti
- 一辆汽车加满油后可行驶n公里。旅途中有若干个加油站。设计一个有效算法,指出应在哪些加油站停靠加油,使沿途加油次数最少。对于给定的n和k个加油站位置,编程计算最少加油次数。并证明算法能产生一个最优解-Fill up the car after driving an n km. There are a number of gas stations journey. Design an efficient algorithm that at which stations should stop to
powerflowprocedurebasedonp-q
- 由visual c++编写的潮流计算程序,已通过上机调试,既适合于本科生毕业设计用,又可作为初学者的参考 -By visual c++ computer program written in the trend has passed through the machine debugging, both for undergraduates designed for use, but also as a reference for beginners
qichejiayou
- 一辆汽车加满油后可行驶n公里,旅途中有若干个加油站,设计一个有效算法,指出应在哪些加油站停靠加油,使沿途加油次数最少,对于给定的n和k个加油站位置,编程计算最少加油次数。 可以利用贪心选择性质来求解汽车加油问题,也就是所求问题的整体最优解可以通过一系列局部最优的选择,即贪心选择来达到。这是贪心选择算法可行的第一个基本要素,也是贪心算法与动态规划算法的主要区别。在动态规划算法中,每步所做的选择往往信赖于相关子问题的解,因而只有在解出相关子问题后,才能做出选择。而在贪心算法中仅在当前状态下做出最
rank
- 并行计算中的排序算法的枚举算法,方便大家学习并行程序设计-Parallel sorting algorithm in the enumeration algorithm so as to facilitate learning parallel programming
用先序递归过程建立二叉树
- 用先序递归过程建立二叉树 (存储结构:二叉链表) 输入数据按先序遍历所得序列输入,当某结点左子树或右子树为空时,输入‘*’号,如输入abc**d**e**得到的二叉树为: (选做:由二叉树的先序序列和中序序列建立一棵二叉树。) 2)编写递归算法,计算二叉树中叶子结点的数目。 3)按凹入表方式输出该二叉树。