MCPcopy Index your code
hub / github.com/coder543/dataplotlib / linspace

Function linspace

src/util.rs:7–18  ·  view source on GitHub ↗

`linspace` allows eases the creation a `Vec` of values to use as the x values on a plot. Once that is done, it is straightforward to map some function over that `Vec` to get the y values.

(start: T, end: T, steps: u64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

plot2d_testFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

plot2d_testFunction · 0.68