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

Struct field

plotter/field_test.go:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type field struct {
18 c, r int
19 fn func(x, y float64) plotter.XY
20}
21
22func (f field) Dims() (c, r int) { return f.c, f.r }
23func (f field) Vector(c, r int) plotter.XY { return f.fn(f.X(c), f.Y(r)) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected