(data []float64)
| 27 | ) |
| 28 | |
| 29 | func makeFloatArray(data []float64) []*collections.FloatArray { |
| 30 | array := collections.NewFloatArray(len(data)) |
| 31 | for idx := range data { |
| 32 | array.SetValue(idx, data[idx]) |
| 33 | } |
| 34 | return []*collections.FloatArray{array} |
| 35 | } |
| 36 | |
| 37 | func getDataFloatArray(array *collections.FloatArray) []float64 { |
| 38 | var data []float64 |
no test coverage detected