diff --git a/.github/.keepalive b/.github/.keepalive index 02f9375..556775f 100644 --- a/.github/.keepalive +++ b/.github/.keepalive @@ -1 +1 @@ -2023-03-01T05:51:35.365Z +2023-05-01T06:21:01.519Z diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6adf06a..f56d473 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -110,9 +110,9 @@ jobs: exit 0 fi rm -rf ./bin/cli - rm test/test.cli.js - rm etc/cli_opts.json - rm docs/usage.txt + rm -f test/test.cli.js + rm -f etc/cli_opts.json + rm -f docs/usage.txt # For all dependencies, check in all *.js files if they are still used; if not, remove them: jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do @@ -149,6 +149,12 @@ jobs: # Add link definition for CLI package to README.md: find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
/
\n\n[$escapedPkg]: https:\/\/www.npmjs.com\/package\/$escapedPkg/" + # Replace GitHub MathJax equations with SVGs: + - name: 'Replace GitHub MathJax equations with SVGs' + run: | + find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g' + find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg' + # Replace GitHub links to individual packages with npm links: - name: 'Replace all GitHub links to individual packages with npm links' run: | @@ -162,8 +168,8 @@ jobs: # Remove unnecessary files: - name: 'Remove unnecessary files' run: | - rm docs/repl.txt - rm docs/types/test.ts + rm -f docs/repl.txt + rm -f docs/types/test.ts # Replace all stdlib GitHub dependencies with the respective npm packages: - name: 'Replace all stdlib GitHub dependencies with the respective npm packages' diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2cb9b1c..a984439 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -28,5 +28,7 @@ Ryan Seal Seyyed Parsa Neshaei Shraddheya Shendre Stephannie Jiménez Gacha +Yernar Yergaziyev dorrin-sot <59933477+dorrin-sot@users.noreply.github.com> +orimiles5 <97595296+orimiles5@users.noreply.github.com> rei2hu diff --git a/README.md b/README.md index 4a8c786..6b7da6e 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,14 @@ The [moment-generating function][mgf] for a [continuous uniform][uniform-distrib -
+```math +M_X(t) := \mathbb{E}\!\left[e^{tX}\right]= \begin{cases} \frac{\mathrm{e}^{tb}-\mathrm{e}^{ta}}{t(b-a)} & \text{for } t \neq 0 \\ 1 & \text{for } t = 0 \end{cases} +``` + + @@ -236,7 +240,7 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. --> [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg -[chat-url]: https://gitter.im/stdlib-js/stdlib/ +[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im [stdlib]: https://github.com/stdlib-js/stdlib