// Map creates a new slice with the results of calling the provided function on every element in the given array.
Map creates a new slice with the results of calling the provided function on every element in the given array.
// Map creates a new slice with the results of calling the provided function on every element in the given array .
func Map(s []uint32, f func(s uint32) uint32) Uint32s {
	m := Uint32s(make([]uint32, len(s)))
	for i, v := range s {
		m[i] = f(v)
	}
	return m
}
func Map ( s [ ] uint32 , f func ( s uint32 ) uint32 ) Uint32s { m := Uint32s ( make ( [ ] uint32 , len ( s ) ) ) for i , v := range s { m [ i ] = f ( v ) } return m }
Map creates a new slice with the results of calling the provided function on every element in the given array.
Map creates a new slice with the results of calling the provided function on every element in the given array .