A package to claculate various distances given 2 points as input
Project description
Interspace
Gives us different distance between two vectors which are given in as an input.
Installation
pip install interspace
Usage
import interspace
# Calculate Euclidean Distace
interspace.euclidean([1,2,3],[4,5,6])
##Output: 5.196152422706632
# Calculate all possible Distances
interspace.distance([1,2,3],[7,8,9])
##Output: {'Euclidean': 10.392304845413264}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
interspace-0.0.3.tar.gz
(1.5 kB
view hashes)
Built Distribution
interspace-0.0.3-py3-none-any.whl
(14.1 kB
view hashes)
Close
Hashes for interspace-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74bd714cd41d94458c8d5ad91921bb5166b859fa23f59a62407c219dcc618a37 |
|
MD5 | c4fdbbc8c936e8d244eeae3cd3b10c9e |
|
BLAKE2b-256 | dea24b51435816e02338bd664ae6c365265a6444436f0ddd12b03e8c9a5c8145 |