From aae1279d6f1c8ee7a0e0847537a01c716325b918 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 00:24:04 +0000 Subject: [PATCH] docs: normalize `stats/base/dists/degenerate/logpmf` description to sibling convention Align the `package.json` description, README blurb, and `lib/index.js` `@module` docstring with the noun-phrase convention used by the other 13 non-`ctor` packages in `stats/base/dists/degenerate` (93% conformance). Direct log-analogs (`logcdf`, `logpdf`) both use the "Degenerate distribution logarithm of ..." shape; `logpmf` was the sole outlier using the imperative "Evaluate the natural logarithm of ..." form. Also add the missing `"logpmf"` self-keyword to the `package.json` `keywords` array; 13/14 sibling packages include their own function name as a keyword (both `logcdf` and `logpdf` carry their `log*` keyword), `logpmf` was the only package missing it. No behavior change; documentation and metadata only. --- .../@stdlib/stats/base/dists/degenerate/logpmf/README.md | 2 +- .../@stdlib/stats/base/dists/degenerate/logpmf/lib/index.js | 2 +- .../@stdlib/stats/base/dists/degenerate/logpmf/package.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/README.md b/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/README.md index 8d3c730e0ca3..86b710f47e11 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/README.md @@ -20,7 +20,7 @@ limitations under the License. # Logarithm of Probability Mass Function -> Evaluate the natural logarithm of the [probability mass function][pmf] (PMF) for a [degenerate distribution][degenerate-distribution]. +> [Degenerate distribution][degenerate-distribution] logarithm of [probability mass function][pmf] (logPMF).
diff --git a/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/lib/index.js index ab87f89a4b3f..b9d29f4e9c87 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/lib/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Natural logarithm of the probability mass function (PMF) for a degenerate distribution. +* Degenerate distribution natural logarithm of probability mass function (logPMF). * * @module @stdlib/stats/base/dists/degenerate/logpmf * diff --git a/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/package.json b/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/package.json index 386f522af7c8..e969a95e0817 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/package.json +++ b/lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/stats/base/dists/degenerate/logpmf", "version": "0.0.0", - "description": "Natural logarithm of the probability mass function (PMF) for a degenerate distribution.", + "description": "Degenerate distribution logarithm of probability mass function (logPMF).", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", @@ -62,6 +62,7 @@ "probability", "prob", "pmf", + "logpmf", "degenerate", "point mass", "logarithm",