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