-
这是一个简单的演示如何评价文本的数学表达式
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
-
GLUT鼠标交互
实现直线段和多边形的扫描转换,利用基于GLUT平台交互式程序验证算法有效性,支持用户用鼠标画直线(bresenham法实现)、多边形(扫描线转换算法)
- 2022-10-23 10:25:03下载
- 积分:1
-
- 2022-11-29 08:40:03下载
- 积分:1
-
ACM的部分简单题目,可以有空做做,练习练习。
ACM的部分简单题目,可以有空做做,练习练习。-ACM part of a simple subject, you can time doing practice exercises.
- 2022-03-12 09:08:30下载
- 积分:1
-
Learnin Mathematics with the ABACUS Activity
Learnin Mathematics with the ABACUS Activity-book
part3
- 2022-01-24 12:55:16下载
- 积分:1
-
C++程序实现的各种随机数的生成程序。
C++程序实现的各种随机数的生成程序。-C program of random number generation procedures.
- 2022-11-26 10:00:03下载
- 积分:1
-
mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环境...
mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环境-mpi parallel computing available vc c code or compile gcc structures can be used to test parallel computing environment
- 2022-04-12 23:37:21下载
- 积分:1
-
不动迭代算法 计算方法
不动迭代算法 计算方法-Fixed iterative algorithm calculation method
- 2023-01-14 07:40:04下载
- 积分:1
-
Geometry algorithms library, you can use on delphi5
几何图形算法库,可以在delphi5上用-Geometry algorithms library, you can use on delphi5
- 2023-01-06 23:35:04下载
- 积分:1
-
利用matlab编写的神经网络程序
这是本人多年来学习神经网络的代码的一个总结,里面包括了具体的算例,以及对训练过程的详细解说,希望对别人有一定的帮助。
- 2022-03-21 23:11:05下载
- 积分:1