-
这是一个简单的演示如何评价文本的数学表达式
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
-
fortran guass seidel and overrelaxation
首先从文件夹读取矩阵,通过高斯萨德尔方法求解后使用松弛弛豫法加速,两种方法一起使用后,计算误差,输出值
- 2022-03-04 20:36:15下载
- 积分:1
-
砼非线性有限元源程序,用FORTRAN写的比较有参考价值
砼非线性有限元源程序,用FORTRAN写的比较有参考价值-Concrete non-linear finite element source code, using FORTRAN to write a comparison reference value
- 2022-03-21 10:19:07下载
- 积分:1
-
用于AD转换的 ,is very good for you
用于AD转换的 ,is very good for you -For AD conversion, is very good for you
- 2022-02-05 18:54:03下载
- 积分:1
-
研究排序算法
Sorting algorithm for study
- 2022-06-02 20:37:06下载
- 积分:1
-
雷达数据处理
对雷达数据处理的单目标,多传感器的matlab源程序,简单的卡尔曼滤波算法,初学的朋友们可以看看
- 2022-02-19 23:24:19下载
- 积分:1
-
c_mean算法c语言实现
c_mean算法是一种非监督的模式识别算法,不需要进行样本训练,通过计算样本距离,进行比较分类。算法结构简单,对于团状数据分类效果理想。
- 2022-02-18 15:40:35下载
- 积分:1
-
C 程序的常规语言语法检查
C 程序的常规语言语法检查-procedures of conventional C language syntax check
- 2022-03-16 01:39:21下载
- 积分:1
-
C语言进程调度
资源描述关于进程调度的操作系统实验的算法,可以点击来看看,进程调度的算法
- 2022-01-26 00:51:30下载
- 积分:1
-
序列 alignment(DNA)
基本点序列比对算法。当 newgeneis 发现,通情达理理解其功能的标准方法就是看通过已知基因的数据基和夏装接近的匹配项。如此接近的两个基因是由他们排列的程度来衡量的。正式这,想到作为一个长字符串在字母表 σ 上的基因 = {A、 C、 G、 T}。考虑两个基因 (字符串) x = ATGCC 和 y = TACGCA。对齐的 x 和 y 是一种通过编写他们 incolumns,比如说匹配这两个字符串:− T − G C C− C G C T A
- 2022-11-01 14:00:03下载
- 积分:1