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