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

Method Dims

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

Source from the content-addressed store, hash-verified

25type unitGrid struct{ mat.Matrix }
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()

Callers

nothing calls this directly

Calls 1

DimsMethod · 0.65

Tested by

no test coverage detected