搜索资源列表
hm3
- 实现扑克牌的洗牌算法。 将52张牌(不包括大、小王)按东、南、西、北分发。 每张牌用一个对象代表,包括:牌的类型、大小序号、名称。 例如:黑头A的牌型为S,序号为13(在K之后),名称为A。 比较牌大小时按序号比较大小(2的序号最小、A最大) 显示牌时将按牌型、名称显示。 例如:东家最后牌为: S:1,4,12 H:7,9 D:2,4,8,10 C:4,5,12,13 注: 洗牌次数可用随机数来确定, Math.random()的
maths_games_fill_in_blanks
- 趣味数学-填数字 的解法(Python版) # 解题:A~H处填入1~8不同的数字 # A B C # * D # --------- # E F G H # 解题:填入数字1~9,使它们之间关系成立 # # ○>○<○ # V ^ V # ○<○>○ # ^ V ^ # ○>○<○ # 解题:填入数字5~13,使ABCD每个正方形上的4个数相加都得33。 # # ○ ○
lyapunov
- Lyapunov exponent calcullation for ODE-system. The alogrithm employed in this m-file for determining Lyapunov exponents was proposed in A. Wolf, J. B. Swift, H. L. Swinney, and J. A. Vastano, "Determining Lyapunov Exponents from a Time Series," Physi
TriangleTest
- 个人原创代码:编写Java Application程序,有一个三角形类Triangle,成员变量有底边x和另一条边y,和两边的夹角a(0<a<180),a为静态成员,成员方法有两个:求面积s(无参数)和修改角度(参数为角度),构造函数为 Triangle(int xx,int yy,int aa) 参数分别为x,y,a赋值 在main方法中构造两个对象,求出其面积,然后使用修改角度的方法,修改两边的夹角,再求出面积值。(提示:求高的方法 h=y*Math.sin(a)).-The o
Kinematics-analysis
- 讨论了一种六自由度排爆机械手运动学问题,利用D-H坐标变换方法来建立了机械手的运动学数学模型和目标矩阵,利用 MATLAB 强大的符号运算功能,对方程进行求解,得出正逆运动学的解。通过正运动学的解,可以得出了 解机械手各关节在执行任务时的运动轨迹;而逆运动学的解则可以求出机械手要到达某一位姿机械手各关节的扭角。运动学分析也为今后实现机械手的自动控制提供了设计参数。 -A kinematics promble of a 6-DOF bomb-disposing manipulator was
intro
- #include <iostream> #include math.h #define TRUE 1 using namespace std class DDA { public: void DDALine(int x0,int y0,int x1,int y1,COLORREF color, CDC *pDC) { float dx, dy, length, x, y if(abs(x1-x0)
robotsV2
- VC 工业机器人控制源码 #include<windows.h>//包含基本数据类型定义 #include<stdlib.h> //数学函数库 #include<string.h> //数学函数库 #include<stdio.h>//输入输出库 #include math.h #include winio.h #define ID_MYBUT50 50//自动运行 #define ID_MYBUT51 51//
factorial
- n:n 的阶乘 返回值:阶乘结果的位数 注意: 本程序直接输出n!的结果,需要返回结果请保留long a[] 需要math.h -n: n factorial Return value: the median factorial results Note: The results of this program directly output n!, You need to return the results, please retain long a [
mathcalls
- NOTE: Because of the special way this file is used by <math.h>, this file must NOT be protected multiple inclusion as header files usually are. -NOTE: Because of the special way this file is used by <math.h>, this file must NOT be prote
os_support
- File: os_support.h This is the (tiny) OS abstraction layer. Aside math.h, this is the only place where system headers are allowed. -File: os_support.h This is the (tiny) OS abstraction layer. Aside math.h, this is the only place where system heade
SkHRESULT
- math.h has many functions and defines that are not consistent across platforms. This address that.
FFT
- function f:积分函数 返回值:f 在(a,b)之间的积分值 function f(x)需要自行修改,程序中用的是sina(x)/x 需要math.h 默认精度要求是1e-5 -F function: integral function 返回值:f 在(a,b)之间的积分值 Return value: F (B, a). function f(x)需要自行修改,程序中用的是sina(x)/x F function (x)
window
- math.h in VC++ doesn t seem to have this (how Microsoft is that?).
gps-compute
- Gps 卫星坐标计算历元总数(个): 0 坐标平差值(m):XX 0.000000 YY -gps satalite coodinte compute#include stdafx.h #include SPP.h #include Matrix.h #include math.h #include SPPDoc.h #include Gps.h #include MainFrm.h #include SPPDoc.h #in
gpsjixianjiesuan-mohudusuanfa
- Gps 整周模糊度算法源码 基线解算 测量平差 O文件读取-#include stdafx.h #include SPP.h #include Matrix.h #include math.h #include SPPDoc.h gps satlite compute #include Gps.h #include MainFrm.h #include SPPDoc.h #include SPPView.h
CPPUses-math.h
- 上面是C++调用C函数库内函数的代码。代码的含义是:如果这是一段cpp的代码,那么加入extern C {和}处理其中的代码。-The above is a C++ function calls the C function library code. The meaning of the code is: if this is a cpp code, then join extern C {and} handle wherein code.
df
- math.h in VC++ doesn t seem to have this (how Microsoft is that?).
math
- sys param.h is included to get MAXPATHLEN, and to get time t by virtue Device Driver for linux v2.13.6.
Erlangcalculator-VCPP
- 用MATLAB实现ERLANGB计算器#include stdafx.h #include ErlangCalculator.h #include ErlangCalculatorDlg.h #include afxdialogex.h #include math.h #ifdef _DEBUG#define new DEBUG_NEW#endif-Using MATLAB ERLANGB calculator# include " stdafx.h"# include &quo
OC-Calculator
- OC写的一个关于三角函数的计算器功能 关于分类以及协议, Programming in OC书上的 chapter11中的第四题-The functions sin(), cos(), and tan() are part of the C Standard Library (as scanf () is). These functions are declared in the system header file math.h, which is automatically impo