map

open fun <T> map(transform: (Double) -> T): Sequence<T>

Maps the array to a sequence with the given transform.

Return

The sequence of transformed elements.

Parameters

transform

The transform to apply to each element.