-
ACM模拟试题 明明的随机数
附件中有详细的题目要求和运行通过的源代码...
ACM模拟试题 明明的随机数
附件中有详细的题目要求和运行通过的源代码-ACM is clearly a random number of mock examination papers are detailed in the annex to the subject requirements and run through the source code
- 2022-06-26 15:07:59下载
- 积分: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
-
an index based on the fire damage assessment software, no classified data, the g...
一个基于指数法的火力毁伤评估软件,没有涉密数据,代码一般-an index based on the fire damage assessment software, no classified data, the general code
- 2022-10-04 23:55:03下载
- 积分:1
-
matlab 平面拟合算法
这个代码的功能是:给定一组3维数据点,计算出一个平面,所有点到平面的法线具体之和最小。拟合用到了计算给定数据点的特征值/特征向量。代码可以用到所有大于等于2D的空间。
- 2022-01-25 16:41:34下载
- 积分:1
-
lzw编码源代码
lz码是一种通用的编码方法,就是指在新源概率统计特征不知或不存在时,对信源进行编码,且编码效率较高。lzw是lz编码的改进编码,效率更好。
- 2022-11-05 07:45:03下载
- 积分:1
-
用FFT实现相关函数快速估计,相比一般的直接按定义计算其算法结构要简单得多,而且效率较高...
用FFT实现相关函数快速估计,相比一般的直接按定义计算其算法结构要简单得多,而且效率较高-using FFT function rapid estimates, compared to the direct general terms by its algorithm much more simple, but efficient
- 2022-03-17 01:03:39下载
- 积分:1
-
离散分数傅里叶变换算法的matlab程序
分数傅里叶变换的离散算法的matlab程序-Discrete fractional Fourier transform algorithm matlab program
- 2022-01-26 05:38:52下载
- 积分:1
-
该源码用于实现广度搜索,大家可以相互学习,欢迎提供意见...
该源码用于实现广度搜索,大家可以相互学习,欢迎提供意见-The source code used to achieve the breadth of search, we can learn from each other, welcome advice
- 2022-08-11 23:09:58下载
- 积分:1
-
八数码问题的问题
八数码问题的问题-the question of
- 2022-02-10 04:03:56下载
- 积分:1
-
非线形方程组类:包括各种非线性方程组的各种求解方法,非常方便调用...
非线形方程组类:包括各种非线性方程组的各种求解方法,非常方便调用-Non-linear equations categories: including a variety of nonlinear equations to solve a variety of methods, very convenient to call
- 2022-01-24 15:03:59下载
- 积分:1