// Uint8sComplex128sF 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.
Uint8sComplex128sF 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.
// Uint8sComplex128sF 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 Uint8sComplex128sF(s []uint8, f func(s uint8) (complex128, error)) complex128s.Complex128s {
	m := complex128s.Complex128s(make([]complex128, 0, len(s)))
	var (
		x   complex128
		err error
	)
	for _, v := range s {
		x, err = f(v)
		if err != nil {
			continue
		}
		m = append(m, x)
	}
	return m
}
func Uint8sComplex128sF ( s [ ] uint8 , f func ( s uint8 ) ( complex128 , error ) ) complex128s . Complex128s { m := complex128s . Complex128s ( make ( [ ] complex128 , 0 , len ( s ) ) ) var ( x complex128 err error ) for _ , v := range s { x , err = f ( v ) if err != nil { continue } m = append ( m , x ) } return m }
Uint8sComplex128sF creates a new slice with the results of calling the provided function on every element in the given array.
Uint8sComplex128sF creates a new slice with the results of calling the provided function on every element in the given array .