summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-05-02 06:45:03 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-05-02 06:45:59 -0700
commitd94c7aefe7784cf22517e1c4cf6192f51e57eac1 (patch)
treed430fc575aa4006c01de4fa73526fd5bacd89ab3 /absl
parent0941ce7fd95104ba5f4678c41802a3229db1d5eb (diff)
[random] LogUniform: Document as a discrete distribution
PiperOrigin-RevId: 630047753 Change-Id: I6ad73216bbe4e279553b9a57bd2727310091c754
Diffstat (limited to 'absl')
-rw-r--r--absl/random/distributions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/random/distributions.h b/absl/random/distributions.h
index 16b76eea..d62f7f3b 100644
--- a/absl/random/distributions.h
+++ b/absl/random/distributions.h
@@ -32,8 +32,8 @@
// continuously and independently at a constant average rate
// * `absl::Gaussian` (also known as "normal distributions") for continuous
// distributions using an associated quadratic function
-// * `absl::LogUniform` for continuous uniform distributions where the log
-// to the given base of all values is uniform
+// * `absl::LogUniform` for discrete distributions where the log to the given
+// base of all values is uniform
// * `absl::Poisson` for discrete probability distributions that express the
// probability of a given number of events occurring within a fixed interval
// * `absl::Zipf` for discrete probability distributions commonly used for