MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / MaxArray

Function MaxArray

examples/go/Max_array.go:3–9  ·  view source on GitHub ↗
(x, y []float64)

Source from the content-addressed store, hash-verified

1package main
2
3func MaxArray(x, y []float64) {
4 for i, c := range x {
5 if y[i] > c {
6 x[i] = y[i]
7 }
8 }
9}
10
11func main() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected