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