list.10.txt

来自「This archive contains circuit diagram an」· 文本 代码 · 共 18 行

TXT
18
字号
//*****************************************
//  Butterfly function
//  Input, output: x, y
//  x <- x + Wn[k]*y
//  y <- x - Wn[k]*y
//*****************************************
void Butterfly(cplx *x, cplx *y, int k)
{
        cplx tx,ty,tWy;

        tWy=cplx_mul(Wn[k],*y);
        tx=cplx_add(*x,tWy);
        ty=cplx_sub(*x,tWy);

        *x=tx;
        *y=ty;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?