-
这是一个简单的演示如何评价文本的数学表达式
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
-
andew_ng 的机器学习练习2
这个是斯坦福大学在coursera 公开课上的机器学习的练习2的习题答案和原题。仅供参考。
有在学习机器学习的同学,可以选择andew_ng在coursera 公开课上的机器学习,这是一个很好的课程,而且算法讲的很详细,这个代码是里面练习的参考答案之一,对于刚开始学习的同学很有用。
- 2023-05-17 06:50:03下载
- 积分:1
-
多
多目标下优化搜索-multi-objective optimization under Search
- 2022-12-23 04:10:02下载
- 积分:1
-
PI值的计算算法,c++代码,值得好好学习
PI值的计算算法,c++代码,值得好好学习-PI value of the algorithm, c code, it is worth to learn
- 2022-03-11 23:47:39下载
- 积分:1
-
哈希表实现
哈希表实现- The Hasche table realizes
- 2022-12-11 02:35:02下载
- 积分:1
-
第五章 数组和广义表习题答案
第五章 数组和广义表习题答案-Chapter V arrays and generalized answer Table Exercises
- 2022-04-15 04:44:13下载
- 积分:1
-
几个实用算法:质数 组合数 公约数 字符串长度
几个实用算法:质数 组合数 公约数 字符串长度-several practical algorithm : a few quality portfolio Conventions few string length
- 2022-06-19 18:45:29下载
- 积分:1
-
a戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
戈圆顶进行压力进aksjdf;落叶归根压力 暴露地
- 2022-08-16 08:25:50下载
- 积分:1
-
多目标优化
完善的多目标算法,可以用来进行智能的多目标优化,方便实用,是不可多得的优质代码,分享出来供大家参考借鉴,使用时注明出处
- 2022-02-09 14:09:41下载
- 积分:1
-
银行储蓄系统
本段源程序由c++编写而成,可在vc++中直接运行,不需建工程,主要是实现银行储蓄系统,可以实现开户、存钱、取钱等多项功能,提示界面清晰,可按提示一步步执行,不会有较大困难。
- 2022-03-07 12:44:51下载
- 积分:1