Fastest way to calculate the abs()-values of a complex array

前端 未结 0 1617
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-13 01:20

I want to calculate the absolute values of the elements of a complex array in C or C++. The easiest way would be

for(int i = 0; i < N; i++)
{
    b[i] = cabs         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题