Interface Random


  • public interface Random
    Utility functions related to randomness.
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static double uniform()
      Create a uniform random value in the range [0, 1).
      static PgxVect<java.lang.Double> uniformVector()
      Create a vector with each cell initialized to a uniform random value in the range [0, 1).
    • Method Detail

      • uniform

        static double uniform()
        Create a uniform random value in the range [0, 1).
        Returns:
      • uniformVector

        static PgxVect<java.lang.Double> uniformVector()
        Create a vector with each cell initialized to a uniform random value in the range [0, 1).
        Returns: