mapIndexed

inline fun DoubleVector.mapIndexed(transform: (index: Int, value: Double) -> Double): DoubleVector(source)