File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,25 @@ True random numbers from quantum phenomena:
120120| ` choice(seq) ` | Returns random element from sequence |
121121| ` randbytes(n) ` | Returns n random bytes |
122122| ` shuffle(seq) ` | Shuffles sequence in-place |
123+ | ` sample(seq, k) ` | Returns k unique elements from sequence |
124+
125+ ### Distributions
126+
127+ | Function | Description |
128+ | ----------| -------------|
129+ | ` uniform(a, b) ` | Float uniformly distributed in [ a, b] |
130+ | ` gauss(mu, sigma) ` | Gaussian/normal distribution |
131+ | ` triangular(low, high, mode) ` | Triangular distribution |
132+ | ` exponential(lambd) ` | Exponential distribution |
133+ | ` weighted_choice(seq, weights) ` | Weighted random selection |
134+
135+ ### Generators
136+
137+ | Function | Description |
138+ | ----------| -------------|
139+ | ` random_uuid() ` | UUID v4 (e.g., ` f47ac10b-58cc-4372-... ` ) |
140+ | ` random_token(length, encoding) ` | Hex or base64 token |
141+ | ` random_password(length, ...) ` | Secure password with configurable charset |
123142
124143### Management Functions
125144
You can’t perform that action at this time.
0 commit comments