[New-bugs-announce] [issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

Rafael Villca Poggian report at bugs.python.org
Sun Jun 30 02:42:16 EDT 2019


New submission from Rafael Villca Poggian <rafael.rvp98 at gmail.com>:

Given that Euclidean distance function was added into the Math module, I think it would be better to have the generalized version of the function as an implementation of the Minkowski distance with p=2 by default, thus maintaining the use as Euclidean distance, providing the extra uses of Minkowski distance.

----------
components: Library (Lib)
messages: 346919
nosy: nubol23
priority: normal
severity: normal
status: open
title: Generalize Euclidean distance function in the math module to Minkowski distance
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37450>
_______________________________________


More information about the New-bugs-announce mailing list