📄 vec_cx_mpy_04.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 + -