MCPcopy Index your code
hub / github.com/gonum/plot / max

Function max

text/text.go:182–190  ·  view source on GitHub ↗
(d ...vg.Length)

Source from the content-addressed store, hash-verified

180}
181
182func max(d ...vg.Length) vg.Length {
183 o := vg.Length(math.Inf(-1))
184 for _, dd := range d {
185 if dd > o {
186 o = dd
187 }
188 }
189 return o
190}
191
192func min(d ...vg.Length) vg.Length {
193 o := vg.Length(math.Inf(1))

Callers 3

maxIntFunction · 0.85
transformForMethod · 0.85
RectangleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected