MCPcopy Create free account
hub / github.com/andeya/algorithm / Seed

Method Seed

mathutil/rnd.go:302–320  ·  view source on GitHub ↗

Seed uses the provided seed value to initialize the generator to a deterministic state. A zero seed produces a "canonical" generator with worse randomness than for most non zero seeds. Still, the FC property holds for any seed value.

(seed int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestBig1Function · 0.95
TestBig2Function · 0.95

Calls 5

mixFunction · 0.85
mixBigFunction · 0.85
SetMethod · 0.65
AddMethod · 0.65
MulMethod · 0.45

Tested by 2

TestBig1Function · 0.76
TestBig2Function · 0.76