⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vec_cx_mpy_04.c

📁 dsp6713开发板的许多例程.对入门特别有用
💻 C
字号:
void vec_cx_mpy(const short *restrict a, const short *restrict b,              short *restrict c){    int j;     for (i = j = 0; i < len; i++, j += 2)    {        /* Real components are at odd offsets, and imaginary components           are at even offsets within each array. */        c[j+1] = (a[j+1] * b[j+1] - a[j+0] * b[j+0]) >> 16;        c[j+0] = (a[j+1] * b[j+0] + a[j+0] * b[j+1]) >> 16;    }}

⌨️ 快捷键说明

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