搜索资源列表
nbody_sh1p.tar
- mpi编程,并行计算N体问题。-mpi programming, parallel computing N-body problem.
Iso89duno
- 此程序采用数据并行方式 //每个处理器执行相同的可视化流程: // vtkImageReader -> vtkContourFilter -> vtkElevationFilter //另外,第一个处理器创建n个输入接口(n=处理器个数-1),同时其它处理器 //分别创建输出接口与其对应.第一个处理器合成自己和其它处理器输出的 //多边形数据,并将其显示出来.-procedure used data parallel way / / each processor
managerWorker
- 简单的并行计算示例,使用MPI实现,在改程序中有一个manager,n个worker,运行后可以使多个worker同时计算
K-meanCluster
- How the K-mean Cluster work Step 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the f
MATLAB
- 卷积运算:取x(t)和h(t)的长度为nx,nh。平移量n=nh+nx-1,利用for和if语句实现倒序求和运算。外循环用一个for语句实现平移,通过在求和时取数组元素的顺序实现倒序求和
C++N!suanfa
- 用VC6.0编译出的求阶乘算法(0---10000)标准C 语言控制台应用程序
connect
- 顶点倒塌(Vertex Collapse)算法中,一开始图中的N个顶点看作N个孤立的超顶点(Super Vertex),算法运行中,有边连通的超顶点相继合并,直到形成最后的整个连通分量。每个顶点属于且仅属于一个超顶点,超顶点中标号最小者称为该超顶点的根。
并行N皇后问题
- 利用OPENMP的方法解决N皇后问题!
parallel-dijkstra 并行化思路实现dijkstra算法
- 并行化思路实现dijkstra算法。假设有p个处理器,N个顶点。给每个处理器分配N/p个顶点,求出局部的最小值,复杂度为O (N/p)。然后后一半的处理器将自己的最小值发送给第前p/2个处理器。前一半处理器接收到传来的值后,与局部的最小值比较,作为新值。继续循环,直到剩下一个处理器为止。-Parallelized dijkstra algorithm. Suppose there is p a processor, N vertex. Give each processor distributi
convhull
- 设平面上n个点为 ,坐标原点为 。可按照下面方法求得包含这n个点的凸多边形。 (1)求最右边点,即x坐标最大点,设为 。 (2) 以 点为中心,在其余 个点中选取与 逆时针旋转角度最小的点,设为 。 (3)再以 点为中心,在其余 个点中选取与 逆时针旋转角度最小的点 。如此类推,直到新选取的点与 点重合为止。设已求得多边形k个点依次为 ,其中第 点与第1点重合。则分别以点 为三角形顶点计算面积并求和即可。 -Let n points in the plane as the
pi
- 使用pthread多线程计算圆周率,直接在linux环境下编译运行,线程数通过代码中N进行修改-Use pthread multi-threaded computing pi, directly in the linux environment, compile run threads through the code to modify N
nbody
- N-Body 利用cuda的模拟 Fast N-Body Simulation with CUDA-Fast N-Body Simulation with CUDA
leijia
- 用户可随意选择两个数,按确定可计算M~N的累加和-M ~ N the calculation of the cumulative and
ConflictFreeAccess
- 一种n×n矩阵在n个存储体中的无冲突访问存储方案-An n × n matrix stored in the n-body program of conflict-free access to storage
exp1
- 给定正整数n,计算出n个元素的集合{1, 2, , n}可以划分成多少个不同的非空子集。-Given positive integer n, to calculate a collection of n elements (1, 2, , n) can be divided into a number of different nonempty sets.
eigenvalues
- cuda编程,并行计算N体问题。cuda programming, parallel computing N-body problem.-cuda programming, parallel computing N-body problem.
magicnum
- 魔方陣運算,輸入1~19的奇數產生1~N*N的數字,執行出來顯示斜、橫、列合相等-Magic square operator, enter 1 to 19 have the odd 1 ~ N* N of the figures shows that the implementation by the oblique and horizontal, are shown together equal
jump_omp.c.tar
- 基于C的OPENMP并行计算的N皇后问题-C-based parallel computing OPENMP the N-Queen problem
Q2
- parallel array search MPI program that searches for an element in an integer array of N elements.
Q3
- parallel MPI program that finds the maximum element in an integer array of N elements
