-
这是一个简单的演示如何评价文本的数学表达式
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
-
sift算法源代码
SIFT特征 (Scale-invariant feature transform,尺度不变特征转换) 是一种计算机视觉的算法,用来侦测与描述影像中的局部性特征,它在空间尺度中寻找极值点,并提取出其位置、尺度、旋转不变量。
此算法由 David Lowe 在1999年所发表,2004年完善总结。其应用范围包含物体辨识、机器人地图感知与导航、影像缝合、3D模型建立、手势辨识、影像追踪和动作比对。此算法有其专利,专利拥有者为 英属哥伦比亚大学。
- 2022-05-21 14:51:41下载
- 积分:1
-
这是硕士生计算机软件专业组合数学的一个序数算法演示,仅供参考。...
这是硕士生计算机软件专业组合数学的一个序数算法演示,仅供参考。-This is the master computer software professional combination of a mathematical algorithm sequence demonstration purposes only.
- 2022-02-27 03:43:04下载
- 积分:1
-
线性表的链式存储结构
实验二 线性表的链式存储结构 题目:设计并实现以下算法:给出用单链表存储多项式的结构,利用后接法生成多项式的单链表结构,实现两个多项式相加的运算,并就地逆置相加后的多项式链式。1. 用户可以根据自己的需求分别输入两个一元多项式,并且能够实现输入的一元多项式的显示。2. 能够完成两个一元多项式的相加功能,而且还能显示相加后的逆置的一元多项式。3. 程序执行的命令包括:(1)构造链表A (2)构造链表B (3)两个链表的相加 (4)求链表的长度 (5)打印(显示)已有的链表 (6)将已相加的链表进行逆序排列
- 2022-10-19 11:50:03下载
- 积分:1
-
mps create
mps create
- 2022-12-22 10:50:03下载
- 积分:1
-
一个毕业程序设计,是用小波和支持向量机对电能质量扰动的识别与分类,主要利用的能量特征。...
一个毕业程序设计,是用小波和支持向量机对电能质量扰动的识别与分类,主要利用的能量特征。-A graduate program design is the use of wavelet and support vector machines for power quality disturbance recognition and classification, the main characteristics of energy use.
- 2022-05-14 22:36:54下载
- 积分:1
-
Support vector regression machines blind equalization algorithm, which uses the...
支持向量回归机的盲均衡算法,其中使用的是v算法-Support vector regression machines blind equalization algorithm, which uses the algorithm v
- 2022-04-10 20:22:28下载
- 积分:1
-
求解约束优化问题增广拉格朗日乘子法源程序
求解约束优化问题增广拉格朗日乘子法源程序-Solving Constrained Optimization Problems Augmented Lagrange multiplier method source
- 2022-05-31 14:04:30下载
- 积分:1
-
插入排序算法
插入排序是一种简单的排序算法,生成最后的已排序的数组 (或列表) 的一个项目在一段时间。它是比更先进的算法,如快速排序、 堆排序或合并排序的大名单上的效率较低。插入排序循环,消耗一个 input 的元素每次重复,越来越多的已排序的输出列表。每次迭代,插入排序中移除一个元素从输入数据中,查找的位置,它是属于在已排序的列表,并将其插入那里。它将重复显示直到没有输入的元素。排序通常完成就地,通过迭代组成的数组,增长背后的排序的列表。在每个数组位置,它会检查那里的值反对 (这碰巧是在它旁边,在以前的数组位置检查) 的排序列表中的最大值。如果较大,它在地方离开元素并移到下一步。如果较小,它发现内已排序列表中的正确位置,转移到一个空间,让所有较大的值,并插入那正确的位置。
- 2022-01-24 15:43:02下载
- 积分:1
-
自个写的一个穷举法算二十四点的小程序
自个写的一个穷举法算二十四点的小程序- Oneself writes an exhaustion method calculates 24 scripts
- 2022-06-11 23:59:02下载
- 积分:1