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

Struct offsetUnitGrid

plotter/heat_test.go:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type offsetUnitGrid struct {
22 XOffset, YOffset float64
23
24 Data mat.Matrix
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) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected