associate
inline fun <K, V> ComplexFloatArray.associate(transform: (ComplexFloat) -> Pair<K, V>): Map<K, V>
Content copied to clipboard
inline fun <K, V> ComplexDoubleArray.associate(transform: (ComplexDouble) -> Pair<K, V>): Map<K, V>
Content copied to clipboard
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
If any of two pairs would have the same key the last one gets added to the map.
The returned map preserves the entry iteration order of the original array.