Package edu.princeton.cs.algs4
Class RandomSeq
- Object
-
- edu.princeton.cs.algs4.RandomSeq
-
public class RandomSeq extends Object
TheRandomSeq
class is a client that prints out a pseudorandom sequence of real numbers in a given range.For additional documentation, see Section 1.1 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
- Author:
- Robert Sedgewick, Kevin Wayne
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Reads in two command-line arguments lo and hi and prints n uniformly random real numbers in [lo, hi) to standard output.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Reads in two command-line arguments lo and hi and prints n uniformly random real numbers in [lo, hi) to standard output.- Parameters:
args
- the command-line arguments
-
-