Skip to content

Commit

Permalink
more rand docs. also 2 commits ago included AddClass to params and La…
Browse files Browse the repository at this point in the history
…yer, Prjn interfaces -- Leabra will need to be updated.
  • Loading branch information
rcoreilly committed Jul 1, 2023
1 parent d6391aa commit f771d9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patgen/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import "github.com/emer/emergent/erand"
var (
// RandSource is a random source to use for all random numbers used in patgen
// By default it just uses the standard Go math/rand source.
// If initialized by calling NewRand(seed), then a separate stream of
// If initialized, e.g., by calling NewRand(seed), then a separate stream of
// random numbers will be generated for all patgen calls, and the
// seed is saved as RandSeed.
// It can be reinstated by calling RestoreSeed.
// seed is saved as RandSeed -- it can be reinstated by calling RestoreSeed.
// Can also set RandSource to another existing erand.Rand source to use it.
RandSource erand.Rand

// Random seed last set by NewRand or SetRandSeed.
Expand Down

0 comments on commit f771d9b

Please sign in to comment.