虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

z-buffer

  • L为桩长

    L为桩长,r为计算点与桩轴线的水平距离,z为计算点距离地面深度。都取正值 %f1,f2,f3依次是点荷载、均布荷载以及三角形荷载下的Geddes应力解函数 %Ip,Ir,It依次是对应三个荷载下的应力系数,负表示拉,正表示压

    标签:

    上传时间: 2014-05-23

    上传用户:xuanjie

  • 风魂游戏库源码 风魂plus,最新的源码包

    风魂游戏库源码 风魂plus,最新的源码包,解压密码为www.csai.cn z

    标签: plus 源码

    上传时间: 2014-01-02

    上传用户:稀世之宝039

  • 同一个数会由于采用不同的基数而使得其表现的形式是完全不一样的

    同一个数会由于采用不同的基数而使得其表现的形式是完全不一样的,在我们的学习中,我们熟悉的基数有10进制、12进制、60进制、2进制、8进制和16进制。比如数据12,如果我们用2进制表示,则它就是1100;如果用3进制表示就是110;如果用8进制表示则是14。我们的编程任务就是与数的进制(也就是基数)有关。 程序中我们会给大家很多个数对(假设每个数对的数用X和Y表示),程序需要解决的问题就是为X和Y各选择一个最小的基数,以使得这两个数在其选择的基数上是一对相等的数。 例如,12和5这个数对,我们可以为12选择基数3,为5选择基数6,这样一来12(base 3)=5(base 6),因为12(base 3)就是10进制数5,而5(base 6)也是10进制数中的5。 程序的输入是通过文件完成的。 文件中的每一行都包含一个数对X和Y,两个数通过一个或多个空格符分割,与X和Y相关联的有效基数值范围为2~36。X和Y的合理数值表示字符包括0—9和A-Z(表示数值10-35)。 文件的最后一行用一个数字0表示输入的结束。

    标签:

    上传时间: 2013-12-17

    上传用户:skfreeman

  • m16+cp2200组成的网络接口。 m16使用内部RC振荡8M

    m16+cp2200组成的网络接口。 m16使用内部RC振荡8M,如果要提高主频,请注意修改模拟总线读函数。 cp2200模块使用www.icdev.com.cn的,更改pin44连接VCC,即总线复用方式,地址数据复用。 软件编写使用avrstudio4.12+sp4+winavr(avrstudio自带的winavr嵌入方式)。 硬件连接: m16 | cp2200 PORTA | AD0-7 PB0 | RST PB1 | CS PB2 | RD PB3 | WR PD2 | INT PD3 | ALE(A3) 由于采用的是m16做为主控,只能使用总线模拟方式,其读写速度有限,经测试约为双向11.8kBps(90kbps)。 由于ram有限,仅仅采用了332Bytes的数据缓冲做为收发buffer,超过此长度的以太网包将抛弃。 此工程文件仅仅做为cp220x的一个移植范例,高级tcpip应用代码因商业缘故不会提供,请勿找我询问。

    标签: 2200 m16 16 cp

    上传时间: 2015-09-13

    上传用户:zhengzg

  • //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点

    //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buffer 里 //WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, NULL) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe CloseHandle(hPipe) } //使用 DeviceIoControl 访问 USB 设备 HANDLE hDevice = OpenMyDevice() if(hDevice != INVALID_HANDLE_VALUE) //打开设备成功 { //这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料 if(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, NULL)) { //成功 } CloseHandle(hDevice) }

    标签: Pipe OpenMyDevPipe MyPipe1 HANDLE

    上传时间: 2014-11-25

    上传用户:stampede

  • BNB20 Finds the constrained minimum of a function of several possibly integer variables. % Usage: [

    BNB20 Finds the constrained minimum of a function of several possibly integer variables. % Usage: [errmsg,Z,X,t,c,fail] = % BNB20(fun,x0,xstatus,xlb,xub,A,B,Aeq,Beq,nonlcon,settings,options,P1,P2,...) % % BNB solves problems of the form: % Minimize F(x) subject to: xlb <= x0 <=xub % A*x <= B Aeq*x=Beq % C(x)<=0 Ceq(x)=0 % x(i) is continuous for xstatus(i)=0 % x(i) integer for xstatus(i)= 1 % x(i) fixed for xstatus(i)=2 %

    标签: constrained variables function possibly

    上传时间: 2014-01-13

    上传用户:youth25

  • Problem Statement You are given a string input. You are to find the longest substring of input su

    Problem Statement You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input. Definition Class: ReverseSubstring Method: findReversed Parameters: string Returns: string Method signature: string findReversed(string input) (be sure your method is public) Notes The substring and its reversal may overlap partially or completely. The entire original string is itself a valid substring (see example 4). Constraints input will contain between 1 and 50 characters, inclusive. Each character of input will be an uppercase letter ( A - Z ). Examples 0) "XBCDEFYWFEDCBZ" Returns: "BCDEF" We see that the reverse of BCDEF is FEDCB, which appears later in the string. 1)

    标签: input Statement You are

    上传时间: 2015-09-21

    上传用户:sunjet

  • 该文件夹包括实验报告

    该文件夹包括实验报告,流程图,以及源代码.程序实现功能:在主程序运行期间,每5秒钟响铃一次;当键盘上的某个键被按下时,主程序和响铃都被挂起,显示器显示buffer缓冲区中的字符串,然后等待下一次按键引起的键盘中断;当键盘中断发生后,恢复主程序和响铃.这一过程可以重复任意次。

    标签: 实验报告

    上传时间: 2015-09-21

    上传用户:xyipie

  • 对电磁波入射的源为偶极子进行仿真

    对电磁波入射的源为偶极子进行仿真,可以z作为其他电磁仿真问题中的源的设置子函数用

    标签: 电磁波 仿真

    上传时间: 2015-09-22

    上传用户:ryb

  • This m file analyzes a coherent binary phase shift keyed(BPSK) and a amplitude shift keyed(ASK) comm

    This m file analyzes a coherent binary phase shift keyed(BPSK) and a amplitude shift keyed(ASK) communication system. The receiver uses a correlator(mixer-integrator[LPF]) configuration with BER measurements comparing measured and theoretical results. The bandpass and low pass used in the receiver are constructed using z transforms.

    标签: keyed shift amplitude analyzes

    上传时间: 2015-09-26

    上传用户:liuchee