-
一种最大数量的随机抽取
输入一个最大数字,随机数抽奖-importation of a maximum number of random draw
- 2022-03-03 12:47:21下载
- 积分: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
-
利用横向递归算法解决数据组合的问题, 比如数组为a, 长度为len, 横向递归 B display(a,len) b是二维数组,a是一维数组...
利用横向递归算法解决数据组合的问题, 比如数组为a, 长度为len, 横向递归 B display(a,len) b是二维数组,a是一维数组-the use of horizontal recursive algorithm to solve the problem of data sets, such as the array is a length of len, horizontal display recursive B (a, len) b is the two-dimensional array, is a one-dimensional arrays
- 2022-03-23 12:54:55下载
- 积分:1
-
我的一个MATLAB牛顿插值程序
我还很菜 请多多指教 批准加入 谢谢!...
我的一个MATLAB牛顿插值程序
我还很菜 请多多指教 批准加入 谢谢!-a MATLAB Newton interpolation procedures, I also ask you to enlighten vegetables approval Thank you!
- 2022-08-23 03:36:47下载
- 积分:1
-
mfcc,dtw单音内容识别
这是个MFCC-DTW的单个音的识别程序,已经可以运行,但是识别率在80%左右,希望有大神可以帮助改一下,同时也比较适合初学者来学习和入门。文件夹里是0-9的单音音频
- 2022-01-26 02:02:26下载
- 积分:1
-
Keil C51程序设计中几种精确延时方法
实际的单片机应用系统开发过程中,由于程序功能的需要,经常编写各种延时程序。延时时间从数微秒到数秒不等。对于许多C51开发者,特别是初学者,编制非常精确的延时程序有一定难度。本文从实际应用出发,讨论几种实用的编制精确延时程序和计算程序执行时间的方法,并给出各种方法使用的详细步骤,以便读者能够很好地掌握理解。
- 2023-02-13 08:55:03下载
- 积分:1
-
该程序用来处理微分方程系统的,用来化简一个微分系统的,特别是高维的系统,用来计算中心流行...
该程序用来处理微分方程系统的,用来化简一个微分系统的,特别是高维的系统,用来计算中心流行-The procedures used to deal with differential equations system for the simplification of a differential system, especially high-dimensional system, used to pop Center
- 2022-12-11 14:40:03下载
- 积分:1
-
目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子...
目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子只有两三个,是很容易解决的。但是随着盘子数目的增加,问题就变得非常难解了。
-purpose is to the left of all the dishes moved to the right side of the pole. Only a mobile one tray, you can use the middle of the pole plate as a temporary storage place. Small plates must be placed on the platter on top. It may seem it is not difficult. Indeed, if the plate is only 23, it"s very easy to solve. But with the increase in the number of dishes, the problem has become a very difficult.
- 2022-01-31 01:19:13下载
- 积分:1
-
Java 路由算法
它是在 Java 开发并生成按定义的算法 pesudocode 函数中所述的算法。这种描述可以利用改性的所有代码和用户的必需品。
- 2022-02-03 17:54:52下载
- 积分:1
-
k均值聚类分析,比较简单,只适合学习使用个,不适合数据处理。...
k均值聚类分析,比较简单,只适合学习使用个,不适合数据处理。-k-means clustering analysis, relatively simple, only suitable for learning to use one, not suitable for data processing.
- 2022-02-06 15:39:22下载
- 积分:1