-
一个简单的c语言实现的纸牌程序
用一个具有52个元素的数组(如char p[52][5])存放这52张牌的内容,如P_i表示黑桃、H_i表示红桃、C_i表示梅花、D-i表示方块;程序中可以首先初始化该数组,然后显示菜单等待用户选择输入,用户选择“发牌”,程序调用“发牌”函数;在发牌函数中,可使用C 中的产生随机数的函数(参看rand(),srand(),random()等函数的使用说明)一个随机数m,选取一张牌{p[m]},将其与最前面的牌交换位置,即将选取的牌放在最前面;然后对数组p余下的牌重复选取操作,直到所有牌均重排列;最后按13行*4列输出发牌结果
- 2022-01-29 00:25:19下载
- 积分:1
-
AES算法
C语言实现的AES 128的ECB 和CMAC算法,含S核和实现。
- 2023-06-04 02:00:03下载
- 积分:1
-
超长整数除法.转载
超长整数除法.转载-long integer division. Reprinted
- 2022-06-15 09:43:06下载
- 积分:1
-
涡轮模型
应用背景对于涡轮机,一个径向流入涡轮机模块已建立。初步几何设计实现:在这个模块,主要的几何尺寸和速度三角形的转子和产生定子。设计例程开始固定几个输入参数,计算特征的热力学性质点相关的入口和出口流体条件;关键技术这可以被认为是最重要的涡轮设计的目标,因为它可以提供重要的信息进一步的设计策略,不仅为涡轮机本身,而且为周期参数。无论如何,这个模块,需要迭代的一些参数参与热动力循环;
- 2023-04-29 19:30:03下载
- 积分:1
-
旋转的正方体
旋转的正方体,可以自己控制 旋转的正方体 的旋转方向 调用4个函数就行
- 2023-04-20 04:55:03下载
- 积分:1
-
是自己在ECPLISE下做的一个简单的排序程序,有兴趣的可以看下....
是自己在ECPLISE下做的一个简单的排序程序,有兴趣的可以看下.-in ECPLISE is done with the sort of a simple procedure that can be interested in a glance.
- 2023-01-09 01:50:04下载
- 积分:1
-
介绍了二分法求解非线性方程的算法,欢迎大家提出宝贵意见。...
介绍了二分法求解非线性方程的算法,欢迎大家提出宝贵意见。-Introduced the dichotomy of the algorithm for solving nonlinear equations, welcome you to give valuable advice.
- 2022-06-19 07:47:23下载
- 积分:1
-
solving nonlinear equations in a way : by using a method of optimizing initial G...
解非线性方程组的一种方法:先用一种优化方法将给定初值(它有可能会使得后续的牛顿法发散)通过一条比较快的途径收敛到精确解附近,得到一个新的初始点,然后再通过牛顿法将新的初始点迭代到精确解(一定的误差范围内)。这种方法的优点在于:它可以将牛顿法快速收敛的优势发挥出来,同时又避免了该方法收敛域比较窄的缺点。-solving nonlinear equations in a way : by using a method of optimizing initial Givens (it might make follow-up to Newton"s law divergence) adopted a relatively fast convergence to the channel near the exact solution, to be a new starting point, and then Newton"s law of the new iteration of the initial point of the exact solution ( some of error). This method has the advantage : it can be rapid convergence of Newton"s method to exploit the advantages while avoiding convergence of the method is relatively narrow domain shortcomings.
- 2022-03-20 10:21:18下载
- 积分:1
-
kalman估值器,为了简洁未使用矩阵计算,应用了kalman滤波,c语言实现
kalman估值器,为了简洁未使用矩阵计算,应用了kalman滤波,c语言实现-A kalman estimator written with c , without matrix operation,applied kalman filter.
- 2022-10-17 01:55:03下载
- 积分:1
-
rough set code in matlab
rough set code in matlab~~
包括:1、data reduction with fuzzy rough sets or fuzzy mutual information
2、fuzzy preference rough set based feature evaluation and selection
3、fuzzy preference rough set based feature evaluation and selection
4、Neighborhood rough set based feature evaluation and reduction
- 2022-07-27 11:10:55下载
- 积分:1