From 98625c1e3b46f182a5817b5d11c1f065a0f9ac85 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 8 May 2026 04:16:57 +0000 Subject: [PATCH] docs: correct C API heading function name in `stats/base/dists/exponential/logcdf` The C API heading in `logcdf/README.md` documented `stdlib_base_dists_exponential_cdf`, copy-pasted from the sibling `cdf` package, instead of the actual function name `stdlib_base_dists_exponential_logcdf` (already used correctly in the same file's code blocks at lines 171, 181, 222 and in `src/main.c`, `src/addon.c`, and the public header). Conformance: 13/14 sibling packages in `stats/base/dists/exponential/` (93%) name their C API heading to match the implemented function. `logcdf` was the lone outlier. --- .../@stdlib/stats/base/dists/exponential/logcdf/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/exponential/logcdf/README.md b/lib/node_modules/@stdlib/stats/base/dists/exponential/logcdf/README.md index f9c78b728d8e..dcf8b7609b2d 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/exponential/logcdf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/exponential/logcdf/README.md @@ -163,7 +163,7 @@ logEachMap( 'x: %0.4f, λ: %0.4f, ln(F(x;λ)): %0.4f', x, lambda, logcdf ); #include "stdlib/stats/base/dists/exponential/logcdf.h" ``` -#### stdlib_base_dists_exponential_cdf( x, lambda ) +#### stdlib_base_dists_exponential_logcdf( x, lambda ) Evaluates the natural logarithm of the [cumulative distribution function (CDF)][cdf] for an exponential distribution with rate parameter `lambda`.