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

Method Z

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

Source from the content-addressed store, hash-verified

26
27func (g unitGrid) Dims() (c, r int) { r, c = g.Matrix.Dims(); return c, r }
28func (g unitGrid) Z(c, r int) float64 { return g.Matrix.At(r, c) }
29func (g unitGrid) X(c int) float64 {
30 _, n := g.Matrix.Dims()
31 if c < 0 || c >= n {

Callers

nothing calls this directly

Calls 1

AtMethod · 0.65

Tested by

no test coverage detected