// BytesFloat64sF creates a new slice with the results of calling the provided function on every element in the given array.
// If the given function returns an error, the element will be ignored.
BytesFloat64sF creates a new slice with the results of calling the provided function on every element in the given array.
If the given function returns an error, the element will be ignored.
// BytesFloat64sF creates a new slice with the results of calling the provided function on every element in the given array . // If the given function returns an error the element will be ignored .
func BytesFloat64sF(s []byte, f func(s byte) (float64, error)) float64s.Float64s {
	m := float64s.Float64s(make([]float64, 0, len(s)))
	var (
		x   float64
		err error
	)
	for _, v := range s {
		x, err = f(v)
		if err != nil {
			continue
		}
		m = append(m, x)
	}
	return m
}
func BytesFloat64sF ( s [ ] byte , f func ( s byte ) ( float64 , error ) ) float64s . Float64s { m := float64s . Float64s ( make ( [ ] float64 , 0 , len ( s ) ) ) var ( x float64 err error ) for _ , v := range s { x , err = f ( v ) if err != nil { continue } m = append ( m , x ) } return m }
BytesFloat64sF creates a new slice with the results of calling the provided function on every element in the given array.
BytesFloat64sF creates a new slice with the results of calling the provided function on every element in the given array .