MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / Sample

Method Sample

lib/gonum/stat/sampleuv/sample.go:184–192  ·  view source on GitHub ↗

Sample generates len(batch) using the Rejection sampling generation procedure. Rejection sampling may fail if the constant is insufficiently high, as described in the function comment for Rejection. If the generation fails, the samples are set to math.NaN(), and a call to Err will return a non-nil v

(batch []float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

RejectionFunction · 0.70

Tested by

no test coverage detected