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

前端 未结 0 1905
醉酒成梦
醉酒成梦 2021-02-13 01:03

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         


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