RandomComplex
A uniformly random complex number in a rectangle of the complex plane.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
RandomComplex!RandomComplex()uniform over the unit square (real and imaginary parts each in [0, 1])RandomComplex(zmax)uniform over the rectangle with corners 0 and zmaxRandomComplex({zmin, zmax})uniform over the rectangle with corners zmin and zmaxTyped signatures
| Type | Package | Applies |
|---|---|---|
(any?) random -> any | combinatorics | always |
Details
- Draws from the SAME seeded stream as RandomInteger (call SeedRandom(seed) first for a reproducible sequence) — our own generator, not Wolfram's, so only the shape and range of the answer are guaranteed to match.
Examples
Basic #
Reseeded explicitly so the example stays reproducible regardless of whatever else has already drawn from this engine's shared stream
live ↗InOut
About
| Examples | 3 |
|---|---|
| Checked against | Wolfram Language 3 differ |
| Crosswalk | Wolfram Language |
See also: RandomInteger, SeedRandom