-
这是一个简单的演示如何评价文本的数学表达式
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
-
有向图的广度深度遍历
解决有向图的广度深度遍历的一种算法,原创性很强,可以手动输入节点的连线,自动生成邻接矩阵,然后通过邻接矩阵分别计算出广度优先遍历的次序和深度优先遍历的次序。
- 2022-02-03 15:33:46下载
- 积分:1
-
本书共分6篇,第1篇统计学基础知识与SAS软件应用技巧,介绍了统计学的基本概念和学习方法、试验设计入门、统计描述、SAS软件应用入门、编写SAS实用程序的技巧、...
本书共分6篇,第1篇统计学基础知识与SAS软件应用技巧,介绍了统计学的基本概念和学习方法、试验设计入门、统计描述、SAS软件应用入门、编写SAS实用程序的技巧、单变量统计分析和利用SAS/GRAPH模块绘制常用统计图的方法。第2篇试验设计与定量资料的统计分析,介绍了与t检验、非参数检验和各种方差分析有关的试验设计和数据处理方法。第3篇试验设计与定性资料的统计分析,介绍了处理二维及高维列联表资料的各种统计分析 方法,包括卡方检验、Fisher的精确检验、典型相关分析、logistic回归模型和对数线性模型等内容。第4篇试验设计与回归分析,介绍了回归分析的种类和选用方法、简单直线回归、多项式回归、简单曲线回归、多元线性回归、协方差分析、直接试验设计及其资料的回归分析等有关内容。第5篇生存分析,介绍了生存资料的特点、生存时间函数和生存分析 方法的分类等基本概念;生存资料的非参数分析方法、COX模型分析方法和参数模型的回归分析方法。第6篇多元统计分析,介绍了主成分分析、因子分析、对应分析、聚类分析、判别分析、典型相关分析。-The book is divided into six, a statistically based knowledge and skills in SAS software applications, introduced the basic concepts in statistics and learning methods, experimental design entry, statistical description of SAS software application entry, to prepare SAS utility skills, single variable statistical analysis and use SAS/GRAPH mapping module commonly used statistical map. The first two experimental design and quantitative analysis of the statistical data, presented with t-test, non- parametric tests and the analysis o
- 2022-08-25 18:46:50下载
- 积分:1
-
遗传算法(GA)用于最小化单目标函数
遗传算法(GA)用于最小化单目标函数:会帮助简单了解GA这个代码
- 2022-01-28 04:50:17下载
- 积分:1
-
上海交通大学研究生算法分析课的作业.实现了<<算法引论...
上海交通大学研究生算法分析课的作业.实现了(Udi Manber 黄林鹏 电子工业出版社)第五章中的大部分算法-Shanghai Jiaotong University Graduate Course algorithm analysis work. Achieved
- 2022-12-02 02:30:03下载
- 积分:1
-
M ATLAB粒子群优化工具箱。粒子群优化…
particle swarm optimization toolbox for matlab.粒子群优化的工具箱-particle swarm optimization toolbox for m atlab. Particle Swarm Optimization Toolbox
- 2022-02-15 05:36:28下载
- 积分:1
-
链表的创建及主要操作
主要是链表的创建、插入、删除、排序、以及逆序问题的实现。希望对大家有帮助。
主要是链表的创建、插入、删除、排序、以及逆序问题的实现。希望对大家有帮助。
主要是链表的创建、插入、删除、排序、以及逆序问题的实现。希望对大家有帮助。
主要是链表的创建、插入、删除、排序、以及逆序问题的实现。希望对大家有帮助。
- 2023-04-03 00:30:04下载
- 积分:1
-
Matlab 傅里叶频率图像配准
图像处理、 基于傅里叶变换的图像配准、 主要包括傅里叶变换、 影像配准的方法、 基于相位相关法进行图像配准。对具有图像平移,旋转缩放变换的图像都可以进行配准
- 2022-03-19 18:52:22下载
- 积分:1
-
RLS和遗传算法的PID在线整定
RLS和遗传算法的PID在线整定,优化效果较好,在线整定控制PID参数
- 2022-11-02 00:10:03下载
- 积分:1
-
快速排序、归并排序与选择排序平均时间之比较
/*----------------------选择排序-----------------------------*/
void SelectSort(int data[],int low,int high)
{
for(int i=low;i
- 2022-03-18 12:13:58下载
- 积分:1