搜索资源列表
MATLAB
- 卷积运算:取x(t)和h(t)的长度为nx,nh。平移量n=nh+nx-1,利用for和if语句实现倒序求和运算。外循环用一个for语句实现平移,通过在求和时取数组元素的顺序实现倒序求和
scan
- 用CUDA计算数组的并行求和运算,在下个数据输入前进行上一次的数据计算-This example demonstrates an efficient CUDA implementation of parallel prefix sum, also known as "scan". Given an array of numbers, scan computes a new array in which each element is the sum of all the elements bef
mpi_array
- 这个程序演示了一个简单的数据分解。主任务首先初始化数组,然后分配相等的部分该数组的其他任务。后的其他任务接收其阵列的一部分,它们执行加法运算,以每个数组元素。-This program demonstrates a simple data decomposition. The master task first initializes an array and then distributes an equal portion that array to the other tasks. Aft