distinct By
inline fun <K> ComplexFloatArray.distinctBy(selector: (ComplexFloat) -> K): List<ComplexFloat>
Content copied to clipboard
inline fun <K> ComplexDoubleArray.distinctBy(selector: (ComplexDouble) -> K): List<ComplexDouble>
Content copied to clipboard
Returns a list containing only elements from the given array having distinct keys returned by the given selector function.
The elements in the resulting list are in the same order as they were in the source array.