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

Struct offsetUnitGrid

palette/moreland/example_test.go:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type offsetUnitGrid struct {
25 XOffset, YOffset float64
26
27 Data *mat.Dense
28}
29
30func (g offsetUnitGrid) Dims() (c, r int) { r, c = g.Data.Dims(); return c, r }
31func (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