-
odd N bands Demon Lineup : N
奇数N 阶魔方阵问题: 奇数N 阶魔方阵的构造规则如下: 1、在第一行的正中间填入1; 2、如果左上角能够移动,则往左上角填入后继的数;如果左上角不 能移动,则顺移到该列最下方左边的一列中最靠近该列的位置; 3、如果左上角不能移动,同时在该列位置的最下方左边最靠近的位 置处也不能填入数,则往该位置的上一行的最右边的位置处填入 后继数; 4、每次尽可能地往左上角填数,如果发现左上角已经填满了数,则 从当前填的数的位置下方填上后继数。 要求: 无。 输入: 用户从键盘任意输入一个正奇数。 输出: 打印出该魔方阵。-odd N bands Demon Lineup : N-odd magic Lineup Construction Rules are as follows : 1, the first line is the middle of a preference; Two, if the upper left corner to Mobile, the successor to fill in the upper left; If the upper left corner, unable to move, with the move out of the bottom of the left one of the closest out of position; three, if the upper left corner, unable to move, while in the position shown in the bottom left nearest location Department has not entered a few, to the position of the party on the right side of the positions filled successor; 4, each possible to fill the upper left corner, if fill the upper left corner, has found a few, from the current fill several positions to fill in the bottom subsequent few. Requ
- 2022-01-21 19:39:47下载
- 积分:1
-
用CORDIC算法实现的2参数反正切。结果的精度与CORDIC的迭代次数有关,迭代次数越多,精度越高。本例子中精确到小数点后4位。要提高迭代次数,还得把增加1Q...
用CORDIC算法实现的2参数反正切。结果的精度与CORDIC的迭代次数有关,迭代次数越多,精度越高。本例子中精确到小数点后4位。要提高迭代次数,还得把增加1QN格式的位数,比如32位long,程序多处需要修改,有需要的话自己改吧。
-CORDIC algorithm with the two parameters arc tangent. And the accuracy of the CORDIC iteration number, the more the number of iteration, the higher the accuracy. This case accurate to four decimal places. To raise the number of iterations, it has to the increase in a 2:30 format of the median, such as 32 long, multiple procedures need to change, the need to reform it themselves.
- 2022-03-16 10:55:29下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-02-22 07:35:43下载
- 积分:1
-
飞思卡尔智能车摄像头组初始化程序
飞思卡尔智能车摄像头组初始化程序 可以初步提线 用codewarrior调试,配合相应的上位机软件可以看到提取的线条,希望可以帮助大家
- 2023-09-05 07:45:03下载
- 积分:1
-
use GA to deal with 模糊机会约束规划问题例题
use GA to deal with 模糊机会约束规划问题例题-use GA to deal with fuzzy opportunity constrained programming examples
- 2022-05-20 19:54:06下载
- 积分:1
-
Volterra级数和失真的直接方法
下一步
- 2022-06-21 23:23:45下载
- 积分:1
-
The mathematic method K
The mathematic method K-Means with delphi, a smaal essay, with graphic representation-The mathematic method K-Means with delphi, a smaal essay, with graphic representation....
- 2022-03-19 12:03:28下载
- 积分:1
-
交流永磁同步工程源码
应用背景
永磁同步交流伺服电机;矢量控制;SVPWM;TMS320F2812
关键技术永磁同步交流电机的矢量控,并根据矢量控制理论运用DSP实现了对永磁同步交流伺服电机的电流、速度和位置的三闭环控制,经测试仿真OK
- 2022-03-02 06:57:05下载
- 积分:1
-
vb 串口
串口基层通讯,有源码,托利多仪表 ,加密算法等。每名都有注释说明,适合新人学习和调试程序使用。软件比常规的串口助手功能齐全,有文本显示,十进制显示,十六进制显示,整整花了一周时间弄出来的。针对托利多仪表b520.
- 2022-02-16 10:19:47下载
- 积分:1
-
计算方法中的方法
计算方法中的方法-method of calculation methods
- 2022-12-20 20:50:08下载
- 积分:1