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

Method Dims

plotter/volcano_example_test.go:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20type deciGrid struct{ mat.Matrix }
21
22func (g deciGrid) Dims() (c, r int) { r, c = g.Matrix.Dims(); return c, r }
23func (g deciGrid) Z(c, r int) float64 { return g.Matrix.At(r, c) }
24func (g deciGrid) X(c int) float64 {
25 _, n := g.Matrix.Dims()

Callers

nothing calls this directly

Calls 1

DimsMethod · 0.65

Tested by

no test coverage detected