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

z-buffer

  • C语言编写雅可比迭代

    # include<stdio.h> # include<math.h> # define N 3 main(){     float NF2(float *x,float *y);     float A[N][N]={{10,-1,-2},{-1,10,-2},{-1,-1,5}};     float b[N]={7.2,8.3,4.2},sum=0;     float x[N]= {0,0,0},y[N]={0},x0[N]={};     int i,j,n=0;     for(i=0;i<N;i++)     {         x[i]=x0[i];     }     for(n=0;;n++){                 //计算下一个值     for(i=0;i<N;i++){         sum=0;         for(j=0;j<N;j++){             if(j!=i){                 sum=sum+A[i][j]*x[j];             }         }         y[i]=(1/A[i][i])*(b[i]-sum);         //sum=0;     }     //判断误差大小         if(NF2(x,y)>0.01){                 for(i=0;i<N;i++){         x[i]=y[i];     }     }             else             break;     }     printf("经过%d次雅可比迭代解出方程组的解:\n",n+1);     for(i=0;i<N;i++){         printf("%f      ",y[i]);     } } //求两个向量差的二范数函数 float NF2(float *x,float *y){ int i; float z,sum1=0; for(i=0;i<N;i++){     sum1=sum1+pow(y[i]-x[i],2); } z=sqrt(sum1); return z; }

    标签: C语言 编写 迭代

    上传时间: 2019-10-13

    上传用户:大萌萌撒

  • API函数详解winAPI32

    API函数详解winAPI32.chm 表1 SetWindowPos函数的参数解释 参数名 参数含义 hwnd 要移动的窗口的句柄(可以用窗体的hwnd属性) hWndInsertAfter 关于如何在Z轴上放置窗口的标记(具体见表2) x 相当于窗口的Left属性 y 相当于窗口的Top属性 cx 相当于窗口的Right属性 cy 相当于窗口的Bottom属性 wFlags 关于如何移动窗口的标记(具体见表3)

    标签: winAPI API 32 函数

    上传时间: 2019-12-01

    上传用户:gdqiutao

  • STC8单片机资料

    STC单片机资料 请用逗号分隔标签 * 资料描述:

    标签: STC8 单片机资料

    上传时间: 2019-12-02

    上传用户:hjd0303

  • 程佩青 数字信号处理 第3版答案

    程佩青的数字信号处理答案,里面包含了DFT,z变换, FFT等的资源的答案,非常经典!

    标签: 数字信号处理

    上传时间: 2020-02-23

    上传用户:hainu_hzh

  • 高抗干扰触摸感应芯片----VK36N系列

    概述   VK36N7B具有7个触摸按键,可用来检测外部触摸按键上人手的触摸动作。该芯片具有较高的集成度,仅需极少的外部组件便可实现触摸按键的检测。提供了BCD输出功能,可方便与外部 MCU 之间的通讯,实现设备安装及触摸引脚监测目的。芯片内部采用特殊的集成电路,具有高电源电压抑制比,可减少按键检测错误的发生,此特性保证在不利环境条件的应用中芯片仍具有很高的可靠性。   此触摸芯片具有自动校准功能,低待机电流,抗电压波动等特性,为各种触摸按键的应用提供了一种简单而又有效的实现方法。 特性 •    工作电压:2.2V~5.5V •    低待机电流10uA/3V •    低压重置(LVR)电压2.0V •    4S自动校准功能 •    可靠的触摸按键检测 •    无键按下4S进入待机模式 •    防呆功能长按10S复位 •    具备抗电压波动功能 •    3位BCD输出+INT中断脚 •    上电时OPT脚选择输出高有效还是低有效 •    专用管脚外接电容(1nF-47nF)调整灵敏度 •    极少的外围组件

    标签: 高抗干扰 防呆功能长按10S复位 具备抗电压波动功能

    上传时间: 2020-02-25

    上传用户:shubashushi66

  • AD826

    High-Speed, Low-Power Dual Operational Amplifier The AD826 features high output current drive capability of 50 mA min per amp, and is able to drive unlimited capacitive loads. With a low power supply current of 15 mA max for both amplifiers, the AD826 is a true general purpose operational amplifier. The AD826 is ideal for power sensitive applications such as video cameras and portable instrumentation. The AD826 can operate from a single +5 V supply, while still achieving 25 MHz of band width. Furthermore the AD826 is fully specified from a single +5 V to ±15 V power supplies. The AD826 excels as an ADC/DAC buffer or active filter in data acquisition systems and achieves a settling time of 70 ns to 0.01%, with a low input offset voltage of 2 mV max. The AD826 is available in small 8-lead plastic mini-DIP and SO packages.

    标签: 826 AD

    上传时间: 2020-04-19

    上传用户:su1254

  • AD8001AR

    transimpedance linearization circuitry. This allows it to drive video loads with excellent differential gain and phase perfor mance on only 50 mW of power. The AD8001 is a current feedback amplifier and features gain flatness of 0.1 dB to 100 MHz while offering differential gain and phase error of 0.01% and 0.025°. This makes the AD8001 ideal for professional video electronics such as cameras and video switchers. Additionally, the AD8001’s low distortion and fast settling make it ideal for buffer high-speed A-to-D converters. The AD8001 offers low power of 5.5 mA max (VS = ±5 V) and can run on a single +12 V power supply, while being capable of delivering over 70 mA of load current. These features make this amplifier ideal for portable and battery-powered applications where size and power are critical. The outstanding bandwidth of 800 MHz along with 1200 V/µs of slew rate make the AD8001 useful in many general purpose high-speed applications where dual power supplies of up to ±6 V and single supplies from 6 V to 12 V are needed. The AD8001 is available in the industrial temperature range of –40°C to +85°C.

    标签: 8001 AD AR

    上传时间: 2020-04-21

    上传用户:su1254

  • VK0384兼容取代HT1623替代品VK1623,脚位少,成本更低!

    VK0384是一个48x8的LCD駆动器. 可软件程控使其适用于多样化的LCD应用线路. 仅用到3至4条讯号线便可控制LCD駆动器,除此之外亦可介由指令使其进入省电模式     特色     工作电压 : 2.4V~5.2V     内建 256KHz RC oscillator     提供 1/4 偏压 1/8 COM 周期     省电模式     48x8 LCD駆动器     内建 48x8 bit 显示内存     3-wire serial interface     软件程控     资料及指令模式     自动增加读写地址

    标签: LCD液晶驱动芯片 价格优势

    上传时间: 2020-06-05

    上传用户:shubashushi66

  • lagr.m

    function y=lagr(x0,y0,x) %x0,y0为节点 %x是插值点 n=length(x0); m=length(x); for i=1:m z=x(i); s=0.0; for k=1:n p=1.0; for j=1:n if j~=k p=p*(z-x0(j))/(x0(k)-x0(j)); end end s=p*y0(k)+s; end y(i)=s; end

    标签: lagr

    上传时间: 2020-06-09

    上传用户:shiyc2020

  • keystone变换

    keystone_sinc是用sinc插值法校正距离走动; keystone_czt使用chirp-z变换校正距离走动;

    标签: keystone 变换

    上传时间: 2020-06-17

    上传用户:mhao123