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

Struct unitGrid

plotter/contour_example_test.go:60–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60type unitGrid struct{ mat.Matrix }
61
62func (g unitGrid) Dims() (c, r int) { r, c = g.Matrix.Dims(); return c, r }
63func (g unitGrid) Z(c, r int) float64 { return g.Matrix.At(r, c) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected