The jacobi.f program solves the Helmholtz equation on a regular mesh, using an iterative Jacobi method with over-relaxation. Parallelism is exploited in both the solver and the numerical error checking
标签: Helmholtz iterative equation program
上传时间: 2016-04-03
上传用户:杜莹12345
The program md.f implements a simple molecular dynamics simulation in continuous real space. The velocity Verlet algorithm is used to implement the time stepping. The force and energy computations are performed in parallel, as is the time integration. (The program uses some Fortran90 features, so an F90 compiler may be needed.)
标签: implements continuous simulation The
上传时间: 2016-04-03
上传用户:zhaiye
Hybrid Monte Carlo sampling.SAMPLES = HMC(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo algorithm to sample from the distribution P ~ EXP(-F), where F is the first argument to HMC. The Markov chain starts at the point X, and the function GRADF is the gradient of the `energy function F.
标签: Carlo Monte algorithm sampling
上传时间: 2013-12-02
上传用户:jkhjkh1982
实现最优二叉树的构造;在此基础上完成哈夫曼编码器与译码器。 假设报文中只会出现如下表所示的字符: 字符 A B C D E F G H I J K L M N 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 频度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系统应具备如下的功能: 1.初始化。从终端(文件)读入字符集的数据信息,。建立哈夫曼树。 2.编码:利用已建好的哈夫曼树对明文文件进行编码,并存入目标文件(哈夫曼码文件)。 3.译码:利用已建好的哈夫曼树对目标文件(哈夫曼码文件)进行编码,并存入指定的明文文件。 4.输出哈夫曼编码文件:输出每一个字符的哈夫曼编码。
上传时间: 2014-11-23
上传用户:shanml
用汇编语言来使键盘成为一个演奏音乐的电子琴。高音依次1,2,3,4,5,6,7 。中音依次为q,w,e,r,t,y,u 。低音依次为a,s,d,f,g,h,j
上传时间: 2013-12-17
上传用户:wangdean1101
This demonstration models a flight control for the longitudinal motion of a Grumman Aerospace F-14 Tomcat. First order linear approximations of the aircraft and actuator behavior are connected to an analog flight control design that uses the pilot s stick pitch command as the set point for the aircraft s pitch attitude and uses aircraft pitch angle and pitch rate to determine commands. A simplified Dryden wind gust model is incorporated to perturb the system.
标签: demonstration longitudinal Aerospace Grumman
上传时间: 2016-05-17
上传用户:wang5829
A*算法属于一种启发式搜索,它扩展结点的次序类似于广度优先搜索,但不同的是每生成一个子结点需要计算估价函数F,以估算起始结点的约束经过该结点至达目标结点的最佳路径代价 每当扩展结点时,意是在所有待扩展结点中选择具有最小F值的结点做为扩展对象,以便使搜索尽量沿最有希望的方向进行.A*算法只要求产生问题的全部状态空间的部分结点及关系,就可以求解问题了,搜索效率较高
上传时间: 2016-05-31
上传用户:lz4v4
Let the following relational tables be given: R = (A, B, C) and S = (D, E, F) where A, B, C, D, E, and F are the attributes (columns). Write the SQL statements that will express each of the queries given below:
标签: relational following tables given
上传时间: 2014-01-14
上传用户:cx111111
%调用格式 =trapez_g( f_name ,a,b,n) %f_name: 被积函数的文件名f(x) % a:x的上限 % b:x的下限 % 部分区间数 %实例:trapez_g( sin ,0,pi,20)
上传时间: 2013-12-19
上传用户:cjl42111
坦克大战小游戏 控制说明: 玩家1相关控制: A/W/S/D:控制方向 F:开火 1 :玩家1复活 玩家2相关控制: UP/LEFT/RIGHT/DOWN:控制方向 0 :开火 2 :玩家2复活 ESC:返回Menu ENTER:任务完成/失败后的确认按键 功能说明: 将敌方坦克消灭完则任务完成,进入下一关,每过1关,障碍物减少1个,电脑 坦克总数增加5辆,一次出现最多的电脑坦克数目增加1. 我方坦克被消灭完则任务失败,任务从第一关重新开始. 击毁一辆红色坦克,会产生一个宝物,获取后可以根据宝物的类型完成相应 的功能. 宝物功能描述: 1.奖励玩家一辆坦克 2.炸毁当前显示的所有敌方坦克 3.所有敌方坦克被暂停运动和开火,持续10秒 4.玩家坦克处于无敌状态,持续15秒 具备多玩家游戏的功能,目前暂定最多支持2人游戏,按1,2,若相应玩家坦克 已全部被摧毁,则复活该玩家的坦克,并设定该玩家坦克数量为3,总分清0. 其它说明: 作者:朱波 QQ:443581450 Email:kyozb2004@yahoo.com.cn
上传时间: 2016-07-14
上传用户:小草123