associate With To
inline fun <V, M : MutableMap<in ComplexFloat, in V>> ComplexFloatArray.associateWithTo(destination: M, valueSelector: (ComplexFloat) -> V): M
Content copied to clipboard
inline fun <V, M : MutableMap<in ComplexDouble, in V>> ComplexDoubleArray.associateWithTo(destination: M, valueSelector: (ComplexDouble) -> V): M
Content copied to clipboard
Populates and returns the destination mutable map with key-value pairs for each element of the given array, where key is the element itself and value is provided by the valueSelector function applied to that key.
If any two elements are equal, the last one overwrites the former value in the map.