sum

fun ComplexFloatArray.sum(): ComplexFloat
fun ComplexDoubleArray.sum(): ComplexDouble

Returns the sum of all elements in the array.