反向阵列(multiblock):
给定指针d_a中的输入数组{a0,a1,...,an-1},将反向数组{an-1,an-2,...,a0}存储在指针d_b中
A: 从“reverseArray_multiblock”模板开始
B:多个256线程块启动,要颠倒大小为N,N / 256块的数组
第1部分:计算要启动的块数
第2部分:实现内核reverseArrayBlock
请注意,现在您必须同时进行计算
块内的相反位置
反向偏移到块的开始
Reverse array (multiblock):
Given the pointer d_a in the input array {a0, A1,..., an-1}, the reverse array {an-1, An-2,..., a0} stored in the pointer d_b
A: starts with the "reverseArray_multiblock" template
B: more than 256 thread block start, to reverse the size of N, N / 256 block array
The first part: the number of calculation to start
The second part: implementation of kernel reverseArrayBlock
Attention, now you must calculate at the same time
The reverse position in a block
Reverse offset to block start (2017-06-24, Visual C++, 6KB, 下载1次)
反向阵列(单块)-- 给定指针d_a中的输入数组{a0,a1,...,an-1},将反向数组{an-1,an-2,...,a0}存储在指针d_b中
A: 从“reverseArray_singleblock”模板开始
B: 只有一个线程块启动,以反转一个大小的数组
N = numThreads = 256个元素
C: 第1部分(共1个):所有你需要做的是实现内核的“reverseArrayBlock()”
D:每个线程将单个元件移动到相反的位置, 从d_a指标读取输入,在d_b指标中将输出存储在相反的位置
Reverse array (single block) - the input array {a0, A1,..., an-1} in the given pointer d_a, the reverse array {an-1, An-2,..., a0}, stored in the pointer d_b
A: starts with the "reverseArray_singleblock" template
B: has only one thread block to start to reverse an array of sizes
N = numThreads = 256 elements
C: first parts (1 altogether): all you need to do is implement the kernel's reverseArrayBlock ()"
D: each thread moves a single element in the opposite position, reads input from the d_a index, and outputs the output in the opposite position in the d_b index (2017-06-24, Visual C++, 6KB, 下载1次)
本题目中,猴子每天都吃当前桃子的一半且再多吃一个,假设第一天开始时,即摘的桃子总数有a0只桃子,第一天吃过之后剩下a1只桃子,第二天吃过之后剩下a2只,. . .,第9天吃过之后剩下a9只,第10天吃过之后剩下a10只,在a0,a1, a2,. . .,a1 0中,只有a10= 1是知道的,现要求a0,而我们可以看出,a0,a1,a2,. . .,a10之间存在一个简单的关系:
也就是:ai= 2 * ( ai + 1), 其中i=10,9,8,7,6,...,1,0 。
本题目中,猴子每天都吃当前桃子的一半且再多吃一个,假设第一天开始时,即摘的桃子总数有a0只桃子,第一天吃过之后剩下a1只桃子,第二天吃过之后剩下a2只,. . .,第9天吃过之后剩下a9只,第10天吃过之后剩下a10只,在a0,a1, a2,. . .,a1 0中,只有a10= 1是知道的,现要求a0,而我们可以看出,a0,a1,a2,. . .,a10之间存在一个简单的关系:
也就是:ai= 2* ( ai+ 1), 其中i=10,9,8,7,6,...,1,0 。
(2014-07-02, Visual C++, 517KB, 下载1次)
directive flash file
directive flash file (2012-12-17, Visual C++, 2KB, 下载2次)
MSP430F149通过定时器A0捕获方式B进行超声波测距
The MSP430F149 by the the timer A0 capture mode B ultrasonic ranging (2012-09-12, Visual C++, 40KB, 下载10次)
本示例程序主要测试LCD1602的功能。
数据IO为A0-A7
E为B5
RS为B6
RS为B6
RW为B7
This sample program to test the functionality of the LCD1602. Data IO A0-A7 E is B5, RS is B6, RS is B6, RW, B7, (2012-05-31, Visual C++, 134KB, 下载3次)
一元多项式A = anxn + … + a1x + a0, B = bnxn + … + b1x + b0,根据运算符+、-、*,分别计算A + B、A - B、A * B。
A polynomial A = anxn+ ...+ a1x+ a0, B = bnxn+ ...+ b1x+ b0+ operator,-,*, respectively, to calculate the A,+ B, A- B, A* B. (2012-05-20, Visual C++, 1KB, 下载2次)
基于DLL的研华采集卡1710 A0模拟量输出程序,VC6下测试通过
-Based on dll advantech 1711 A0 output program, VC6 under test. (2012-04-12, Visual C++, 74KB, 下载8次)
学生成绩管理系统 数据结构二叉树实现。C++编程语言
the manage of the student s grade. (2012-03-17, Visual C++, 935KB, 下载10次)
AD转换并显示 通过采集A0口数据并显示在数码管上
AD transmit display (2011-05-29, Visual C++, 1KB, 下载2次)
利用线性表实现一个一元多项式Polynomial
f(x) = a0 + a1x + a2x2 + a3x3 + … + anxn
The realization of a linear form of Multinomial Polynomial f (x) = a0+ a1x+ a2x2+ a3x3+ ...+ anxn (2010-08-19, Visual C++, 974KB, 下载3次)
能帮你算出给的N次的X多项式之和,并输入相应的系数a0,a1,a2....an。式子形为:a0+a1*x+a2*x1+a3*x2+...+a(n+1)*xn=sum
Can help you figure out X to the N times and polynomials, and enter the corresponding coefficients a0, a1, a2 .... an. Formula of the form: a0+ a1* x+ a2* x1+ a3* x2+...+ a (n+1)* xn = sum (2010-07-22, Visual C++, 131KB, 下载2次)
读.DAT文件写入TXT 并通过柱状图显示,仅供参考
vc (2010-06-04, Visual C++, 1978KB, 下载3次)
very important subject in c++ inheritance...
very important subject in c++ inheritance... (2010-05-02, Visual C++, 6KB, 下载1次)
矩阵运算:求逆、转置、相乘等,然后通过矩阵运算求多项式纠正的值,多项式如:X=a0+a1*x+a2*y+a3*x*x+a4*x*y+a5*y*y
Y=b0+b1*x+b2*y+b3*x*x+b4*x*y+b5*y*y
Matrix operations: inversion, transpose, multiply, etc., and then through the matrix for computing the value of correct polynomial, polynomials, such as: X = a0+ a1* x+ a2* y+ a3* x* x+ a4* x* y+ a5* y* y Y = b0+ b1* x+ b2* y+ b3* x* x+ b4* x* y+ b5* y* y (2009-06-10, Visual C++, 2KB, 下载12次)
使用FFT实现的两个多项式相乘的算法。
输入文件:
第一行为(n-1)
第二行为第一个多项式系数序列 第三行为第二个多项式系数序列
系数序列的格式为:an,an-1,an-2 ,…, a1,a0
输出文件:result5.txt
格式为结果多项式的系数序列。
序列格式为:an,an-1,an-2 ,…, a1,a0(此n与输入中的n不同)
Implementation of both the use of FFT polynomial multiplication algorithms. Input file: the first act (n-1) the second act of the first polynomial coefficient sequence of the third act of the second polynomial coefficient sequence coefficient sequence format: an, an-1, an-2, ..., a1, a0 output file: result5.txt format for the results of polynomial coefficient sequence. Sequence format: an, an-1, an-2, ..., a1, a0 (the n with the input of the n different) (2009-03-15, Visual C++, 2KB, 下载34次)
结合"61板"的三个按键完成带有语音播报功能的电子钟:、KEY1--按一下播放年、月、日,再按一下播放时、分 (I/O口A0)
// 连续按3s,则进入调整状态 调整状态下调整内容的切换
// 2、KEY2--年、月、日、时、分的增加(I/O口A0)
// 3、KEY3--年、月、日、时、分的减少(I/O口A0)
a speechclock can play the time by speech, controlled by three keys (2009-03-13, Visual C++, 294KB, 下载2次)
利用定时器中断,每隔一秒,循环点亮LED灯。
Use timer interrupt every second, recycling lit LED lights. (2008-10-16, Visual C++, 6KB, 下载9次)
对于给定的n 个整数a0, a1,., an-1 组成的序列,计算相应的亲兄弟元素位置序列。
For a given n integers a0, a1,., An-1, composed of sequences, calculation of the corresponding elements of the location of sequence brothers. (2007-11-13, Visual C++, 1KB, 下载4次)
用最小二乘法拟合曲线y=a0+a1*x+a2*x^2+a3*x^3+...+an*x^n 的vc源码
using the method of least squares fitting curve y = a0 a1 a2* x* x* a3 ^ 2 x ^ 3 ... an* x ^ n vc FO (2007-06-01, Visual C++, 2KB, 下载96次)