indexOf

fun ComplexFloatArray.indexOf(element: ComplexFloat): Int
fun ComplexDoubleArray.indexOf(element: ComplexDouble): Int

Returns first index of element, or -1 if the array does not contain element.