Numerical integration: Difference between revisions
→{{header|Go}}: small update for library change
(add scala) |
(→{{header|Go}}: small update for library change) |
||
Line 1,294:
// (there might be better ways...)
func sum(parts []float64) float64 {
sort.
ip := sort.SearchFloat64s(parts, 0)
in := ip - 1
|