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

Method Z

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

AtMethod · 0.65

Tested by

no test coverage detected