0_0_27679286_3119.cpp: In function 'void FFT(std::complex<double>*, int)':
0_0_27679286_3119.cpp:18:49: error: lvalue required as left operand of assignment
complex<double> W=w[l/i*k];if(op<0) W.imag()*=-1;
^
0_0_27679286_3119.cpp: In function 'void CDQ_FFT(int*, int*, int, int)':
0_0_27679286_3119.cpp:30:34: error: lvalue required as left operand of assignment
for(int i=0;i<l;i++) w[i].real()=cos(Pi/l*i),w[i].imag()=sin(Pi/l*i);
^
0_0_27679286_3119.cpp:30:58: error: lvalue required as left operand of assignment
for(int i=0;i<l;i++) w[i].real()=cos(Pi/l*i),w[i].imag()=sin(Pi/l*i);
^
0_0_27679286_3119.cpp:31:70: error: lvalue required as left operand of assignment
for(int i=0;i<l;i++) A[i].real()=A[i].imag()=B[i].real()=B[i].imag()=0;
^
0_0_27679286_3119.cpp:32:39: error: lvalue required as left operand of assignment
for(int i=L;i<=mid;i++) A[i-L].real()=b[i];
^
0_0_27679286_3119.cpp:33:37: error: lvalue required as left operand of assignment
for(int i=0;i<=R-L;i++) B[i].real()=a[i];
^
|