VOOZH about

URL: https://www.geeksforgeeks.org/cpp/stduniform_real_distribution-a-method-in-c-with-examples/

⇱ std::uniform_real_distribution a() method in C++ with Examples - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

std::uniform_real_distribution a() method in C++ with Examples

Last Updated : 12 Jul, 2025
The a() method of uniform_real_distribution class in C++ is used to get the lower bound of this uniform_real_distribution. Syntax:
result_type a() const;
Parameters: This method do not accepts any parameters. Return Value: This method return the 'a' parameter in the distribution, which is the lower bound or the minimum possibly generated value in this uniform_real_distribution. Example:
Output:
Lower Bound: 10
Reference: https://cplusplus.com/reference/random/uniform_real_distribution/a/
Comment
Article Tags: