-
霍夫曼树-C++源码
应用背景霍夫曼树-C++源码实现:哈夫曼树是带权路径长度最短的树,权值较大的结点离根较近。关键技术给定n个权值作为n的叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树(Huffman Tree)。
- 2022-08-25 15:08:30下载
- 积分:1
-
用于科学计算的Fortran 90算法源程序
用于科学计算的Fortran 90算法源程序-for scientific computation algorithm source Fortran 90
- 2022-07-21 07:38:54下载
- 积分:1
-
一些常用的数学数值算法,用C语言编写即可。
一些常用的数学数值算法,用C语言编写即可。-some commonly used mathematical algorithm, using C language can be.
- 2022-07-21 09:27:00下载
- 积分:1
-
最小二乘法线性拟合,数值计算方法中的一种经典算法
最小二乘法线性拟合,数值计算方法中的一种经典算法-Least_squares algorithm linear fitting curves,A kind of classic algorithm of the number calculation
- 2022-04-23 19:05:57下载
- 积分:1
-
使用分布傅立叶法计算非线性薛定谔方程。可以得到光纤非线性传输特性。...
使用分布傅立叶法计算非线性薛定谔方程。可以得到光纤非线性传输特性。-Fourier method using the distribution of nonlinear Schr枚dinger equation. Can be non-linear optical transmission characteristics.
- 2023-07-18 05:25:02下载
- 积分:1
-
刚才没注意,上传的是.c文件,重新上传,忘谅解!
精确计算N的N次方,并完整显示结果!...
刚才没注意,上传的是.c文件,重新上传,忘谅解!
精确计算N的N次方,并完整显示结果!-just did not know, upload yes. C document, re-upload, forget understanding! N precise calculation of the N-th power and integrity of the result will be displayed!
- 2022-08-14 07:55:35下载
- 积分:1
-
科学与工程数值算法用到的积分类
科学与工程数值算法用到的积分类-science and engineering numerical algorithm used in the integration category
- 2022-02-21 19:32:31下载
- 积分:1
-
牛顿插值的差商迭代算法,c语言实现
牛顿插值的差商迭代算法,c语言实现-Newton interpolation algorithm to worse, the C Language
- 2022-03-15 21:33:46下载
- 积分:1
-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1
-
牛顿算法求解经典算法
牛顿法方程求根的经典算法-Newton method for solving equations of classical algorithm
- 2022-02-16 06:22:06下载
- 积分:1