Is there an easy way to pass only the real/imaginary part of an array of complex numbers in C?
If the array is defined like
double _Complex arr[100];
and I have a function findMean(double *)
which only works on real data, is there a way I can pass the real and imaginary part of the array separately?