-
这是一个简单的演示如何评价文本的数学表达式
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
-
模糊controlorer基于Excel
- 2022-01-30 10:16:25下载
- 积分:1
-
八皇后问题
八皇后问题-Eight queens problem
- 2022-08-19 00:28:50下载
- 积分:1
-
如何写遗传算法程序
教你如何用c++编写遗传算法程序,并且有详细的示例,详细的描述了遗传算法的编写
- 2022-08-13 08:02:51下载
- 积分:1
-
vba cpk收集工具(使用chrom)
vba cpk收集工具(使用chrom) 没个电子工程师都是关心自己产品的测试数据,往往我们可以通过这些数据来看出一些问题来
这是我用VBA写的CPK自动收集并排版为固定的格式,当然这个格式你自己可以修改,原数据的格式也是可修改的
- 2022-04-07 17:36:24下载
- 积分:1
-
视频目标检测跟踪例程
基于aforge.net的视频监控智能分析,目标跟踪、物体分类,用C#编写,是个很好的例子。
- 2022-01-25 22:09:17下载
- 积分:1
-
ssa algorithm
这是一个ssa算法的代码。它必须被修改以提高效率,开发一个完整的库可能是一个很好的项目
- 2022-05-05 19:17:21下载
- 积分:1
-
操作系统中的多级反馈队列调度算法
操作系统中的多级反馈队列调度算法-operating system as a multi-level feedback queue scheduling algorithm
- 2022-10-13 21:30:02下载
- 积分:1
-
F2812Q格式代码
空间电压矢量脉宽调制技术(SVPWM)在DSP中的实现步骤:
(1)获得SVPWM的输入信号UALFA,UBETA,Ud,Uq经过IPARK变换得到输入信号UALFA,UBETA;
(2)利用输入信号UALFA,UBETA计算中间变量B0,B1,B2,确定扇区Sector;
(3)利用输入信号UALFA,UBETA计算中间变量X,Y,Z,再根据不同扇区利用中间变量X,Y,Z计算t1,t2;
(4)利用t1,t2根据不同扇区计算Ta,Tb,Tc;
(5)利用Ta,Tb,Tc计算占空比MfuncD1,MfuncD2,MfuncD3,之后再计算全比较器参数赋值CMPR1,CMPR2,CMPR3.
- 2023-07-23 17:45:02下载
- 积分:1
-
C语言程序源代码(集合)
C语言从入门到熟练掌握,里面集结了学习C语言的大部分练习程序,从简单到复杂
- 2022-02-03 07:08:28下载
- 积分:1