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

Method Z

plotter/contour_example_test.go:63–63  ·  view source on GitHub ↗
(c, r int)

Source from the content-addressed store, hash-verified

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) }
64func (g unitGrid) X(c int) float64 {
65 _, n := g.Matrix.Dims()
66 if c < 0 || c >= n {

Callers

nothing calls this directly

Calls 1

AtMethod · 0.65

Tested by

no test coverage detected