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

Method Dims

plotter/heat_test.go:27–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
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()

Callers

nothing calls this directly

Calls 1

DimsMethod · 0.65

Tested by

no test coverage detected