-
这是一个简单的演示如何评价文本的数学表达式
This a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functions. The code consists of
three simple classes: 1) Calc - which does the main calculations, 2) Stack -
which is used to push and pop intermediate operators and numbers and 3)
Symbol Table. The symbol table is a collection of calc symbols, a type structure
consisting of various elements, including the expression name, function name,
and the final value of the expression The evaluation procedure is done in three
steps: 1) simplify the expression by removing all the elements within () and
storing them in subexpressions within the symbol table. 2) Each of these sub
expressions are then converted to RPN format (Reverse polar notation) and
evaluated 3) Finally, the main expression is converted to RPN and evaluated-This is a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functi
- 2022-02-20 06:26:41下载
- 积分:1
-
四旋翼飞行器
应用背景四旋翼飞行器设计资料大全,包括运力图的设计,控制代码的参考,各个芯片的使用,对初学者提高很有帮助。四旋翼飞行器应用在航拍上有很大市场空间。关键技术四旋翼飞行器设计关键的难点还在于算法,资料中有相关源码可进行参考,对初学者学习上手有很大的帮助。
- 2023-05-26 17:45:04下载
- 积分:1
-
OCR字符识别
资源描述OCR字符识别OCR字符识别OCR字符识别OCR字符识别OCR字符识别OCR字符识别OCR字符识别OCR字符识别OCR字符识别
- 2022-02-06 20:25:45下载
- 积分:1
-
ACM无向连通图最小生成树
题目描述
请输出无向连通图最小生成树权重之和。
输入
第一行是2个整数,分别表示顶点个数n和边数m。接下来的m行中,每一行第一个整数表示边的开始顶点,第二个表示边的结束顶点,第三个表示这条边的权重。
(
测试数据中保证图是连通图;
没有自环;
两个顶点之间只有一条边;
0
- 2022-02-22 12:05:25下载
- 积分:1
-
一些经常用到的C算法程序
一些经常用到的C算法程序-some frequently used procedures C Algorithm
- 2022-07-20 06:52:10下载
- 积分:1
-
Plane frame finite element program, consideration could be given support nodes a...
平面框架有限元计算程序,可考虑节点和支座位移-Plane frame finite element program, consideration could be given support nodes and displacement
- 2023-01-31 11:05:03下载
- 积分:1
-
求解8数码问题的广度优先搜索算法的C++代码
一种尝试在c++代码中解决8个难题的算法。此代码使用广度优先搜索;
- 2022-02-28 16:21:19下载
- 积分:1
-
利用渐进结构优化算法(ESO)实现矩形板的第一阶频率的最大化。用VC实现界面,以Nastran作为频率求解器,用Matlab进行数值运算。...
利用渐进结构优化算法(ESO)实现矩形板的第一阶频率的最大化。用VC实现界面,以Nastran作为频率求解器,用Matlab进行数值运算。
- 2022-04-16 01:10:49下载
- 积分:1
-
该算法简单、实用的基础上,该算法可以实现…
一个简单实用的进制转换算法,该算法能实现二、八、十、十六进制的相互转化。-a simple and practical base for the conversion algorithm, the algorithm can achieve 2, 8, 10, hexadecimal the mutual conversion.
- 2022-03-04 01:49:46下载
- 积分:1
-
GPS单点定位
用于读取O文件以及N文件并根据相应公式进行伪距单点定位的程序,可以根据卫星广播星历文件和卫星观测值文件进行伪距单点定位的操作。相关文件可以到网上下载。
- 2023-06-02 23:10:04下载
- 积分:1