// UintsFloat64sE creates a new slice with the results of calling the provided function on every element in the given array.
// Returns an error if one of the function calls fails.
UintsFloat64sE creates a new slice with the results of calling the provided function on every element in the given array.
Returns an error if one of the function calls fails.
// UintsFloat64sE creates a new slice with the results of calling the provided function on every element in the given array . // Returns an error if one of the function calls fails .
func UintsFloat64sE(s []uint, f func(s uint) (float64, error)) (float64s.Float64s, error) {
	m := float64s.Float64s(make([]float64, len(s)))
	var err error
	for i, v := range s {
		m[i], err = f(v)
		if err != nil {
			return nil, err
		}
	}
	return m, nil
}
func UintsFloat64sE ( s [ ] uint , f func ( s uint ) ( float64 , error ) ) ( float64s . Float64s , error ) { m := float64s . Float64s ( make ( [ ] float64 , len ( s ) ) ) var err error for i , v := range s { m [ i ] , err = f ( v ) if err != nil { return nil , err } } return m , nil }
UintsFloat64sE creates a new slice with the results of calling the provided function on every element in the given array.
UintsFloat64sE creates a new slice with the results of calling the provided function on every element in the given array .