From 49953d13290dd1467ab8258ec59367bd14e8a75f Mon Sep 17 00:00:00 2001 From: Jens True Date: Mon, 26 Feb 2024 09:43:53 +0000 Subject: [PATCH] PRoper links --- src/Numerics/GaussianDistribution.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Numerics/GaussianDistribution.php b/src/Numerics/GaussianDistribution.php index 4c3598b..3413db2 100644 --- a/src/Numerics/GaussianDistribution.php +++ b/src/Numerics/GaussianDistribution.php @@ -16,7 +16,7 @@ class GaussianDistribution implements \Stringable * Square Root 2π. * Precalculated constant for performance reasons * sqrt(2*pi) - * from https://www.wolframalpha.com/input?i=sqrt%282*pi%29 + * @link https://www.wolframalpha.com/input?i=sqrt%282*pi%29 Source of value */ private const M_SQRT_2_PI = 2.5066282746310005024157652848110452530069867406099383166299235763; @@ -24,7 +24,7 @@ class GaussianDistribution implements \Stringable * Log of Square Root 2π. * Precalculated constant for performance reasons * log(sqrt(2*pi)) - * From https://www.wolframalpha.com/input?i=log%28sqrt%282*pi%29%29 + * @link https://www.wolframalpha.com/input?i=log%28sqrt%282*pi%29%29 Source of value */ private const M_LOG_SQRT_2_PI = 0.9189385332046727417803297364056176398613974736377834128171515404; @@ -76,7 +76,8 @@ class GaussianDistribution implements \Stringable } /** - * Great derivation of this is at http://www.astro.psu.edu/~mce/A451_2/A451/downloads/notes0.pdf + * Great derivation of this is at + * @link http://www.astro.psu.edu/~mce/A451_2/A451/downloads/notes0.pdf */ public function getNormalizationConstant(): float {