-
/ = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = /功能annot
//=== === === === === === === =
//函数说明
//函数名称:PolyFit
//函数功能:最小二乘法曲线拟合
//使用方法:double *x ---- 存放n个数据点的X坐标
// double *y ---- 存放n个数据点的Y坐标
// int n -------- 给定数据点个数
// double *a ---- 返回m-1次拟合多项式的m个系数
// int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m20,则本函数自动按m=min{n,20}处理
// double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多
// 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据
// 点误差绝对值的最大值
//注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)...
-//=== === === === === ==== === === === === === === ==== === =// function annotations// function name : PolyFit// Function functions : Least Squares Curve Fitting// Use : double* x n-store data point coordinates of the X//* y double-storage n data point Y coordinates// int n-------- given the number of data points//* a double---- returned to the m-1 m fit polynomial coefficients// int m-------- polynomial fitting items , which is the highest polynomial fitting time for m-1. Request m
- 2023-07-25 11:15:03下载
- 积分:1
-
通过Karkera建立概率图模型与Python
使用用Python实现概率图形模型,与现实世界的应用解决机器学习问题。
- 2022-11-18 15:50:04下载
- 积分:1
-
这是一个简单的演示如何评价文本的数学表达式
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-01-22 11:43:39下载
- 积分:1
-
这里是有关材料力学的工程分析软件,是学习工程力学的学生的一个不可少的工具,欢迎大家的进入...
这里是有关材料力学的工程分析软件,是学习工程力学的学生的一个不可少的工具,欢迎大家的进入-here is the mechanical engineering and analysis software engineering mechanics is learning to the students in an indispensable tool, we welcome the entry! !
- 2022-04-22 16:41:02下载
- 积分:1
-
牛顿迭代式,用VB实现~~~!
牛顿迭代式,用VB实现~~~!-Newton iterative, using VB to achieve ~ ~ ~!
- 2022-10-16 09:25:03下载
- 积分:1
-
PSO算法在室内定位系统中的应用
资源描述室内定位系统,是用于在较大或复杂的建筑物内完成对目标物进行定位的实
时系统,其目标物包括人和物品。该系统的核心包括两个部分:硬件系统和软件
系统。其基本思想是利用算法根据参照点的坐标来确定目标物的坐标,从而实现
目标的定位。本论文的主要目标就是研发用于提高室内定位系统性能的软件系统。
- 2022-03-22 19:39:42下载
- 积分:1
-
Romberg积分,数值积分
Romberg积分,数值积分-Romberg points, numerical integration
- 2023-02-10 10:55:03下载
- 积分:1
-
该程序用来解方程组的,非线性的和线性的,带有参数的方程组
该程序用来解方程组的,非线性的和线性的,带有参数的方程组-The program group for the solution of equations, non-linear and linear equations with parameters
- 2022-11-10 18:50:03下载
- 积分:1
-
哈弗曼压缩
huffuman压缩是一种无损压缩,本程序采用huffuman算法,利用最建树,并利用哈希表,加快寻找各结点效率,压缩在百分之八十
- 2022-02-14 05:57:36下载
- 积分:1