资源列表
最小生成树Prim算法
- Dandn文件给出了输入参数的名称及格式 即在调用prim前先输入邻接矩阵D和节点个数n 输入prim 得到两行的矩阵T,将上下两行数字对应的节点相连即可(The Dandn file gives the name and format of the input parameter That is, before entering prim, the adjacency matrix D and the number of nodes n are input Input prim G
koncuyrectoption
- 这是一个用JAVA写的系统与数据库之间信息存储的代码()
Fortran 引力
- 质量为m1和m2的两个物体之间的引力F为 F=G*m1*m2/r^2 这里G为引力常量(6.672*10^-10N*m^2/kg^2)m1和m2是单位为千克的物体质量,r是两个物体之间的距离。编写一个函数计算给定质量和相互距离的两个物体的引力。通过计算在地球38000km处的轨道上运行的1000kg的人造卫星和地球之间的引力来测试所编程序。(地球的质量为5.98*10^24kg)(The gravitational F between the two objects of mass M1 a
第四次作业第一题第一问01
- 有r个人在一楼进入电梯,楼上共有n层。设每个游客在任何一层楼下的概率相同,试建立一个概率模型,求直到电梯中的人下完为止,电梯需停次数的数学期望,对r=10,n=8(如西一楼)进行计算机模拟验证。(There are r people in the first floor into the elevator, upstairs, there are n layer. The probability of each visitors at any level below the same, try
bridge
- Using parent-child process to play bridge automatically according to the basic rules
ASATSP
- ASATSP源程序的m文件,能在matlab中成功运行(The m file of ASATSP source program can successfully run in matlab)
convert_gd4s_to_binary
- 将模型输出的gd4s文件转换为二进制文件(Converts the gd4s file of the model output to a binary file)
randmask
- matlab处理图像,随机扔掉图像的像素点,并进行双线性最邻近插值(Randomly discard pixels of an image. Bilinear interpolation and nearest neighbor interpolation are also performed)
Program
- 读取GLDAS数据, 是一个比较好的读取文件的实例(read gldas data, is a good example of reading file)
c++实现动态数组
- 使用C语言实现一个长度可扩充的数组(包含必要的数据结构及函数); 能存放任意类型的数据(Using C language to implement a dynamic array which can reserve any kinds of datas)
最小二乘法直线拟合 用VC实现的3
- 最小二乘法拟合直线,通过点云或者三角网格(Least square fitting straight line by point cloud)
空间后方交会
- 摄影测量中的空间后方交会程序,原理即 共线条件方程,是利用一定数量的已知地面控制点,求解像片的外方位元素的过程。(Photogrammetry space resection procedure, namely the principle of collinear equation, is known by a certain number of ground control points, the process of exterior orientation elements of the
