https://github.com/eveningkid/l2-norm
Compute the euclidian/l2 norm of a vector
https://github.com/eveningkid/l2-norm
euclidian l2 norm
Last synced: 7 months ago
JSON representation
Compute the euclidian/l2 norm of a vector
- Host: GitHub
- URL: https://github.com/eveningkid/l2-norm
- Owner: eveningkid
- Created: 2019-05-15T03:36:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T03:37:37.000Z (over 6 years ago)
- Last Synced: 2025-02-03T23:34:09.277Z (8 months ago)
- Topics: euclidian, l2, norm
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# l2 Norm
Implementation of the [l2 norm](https://en.wikipedia.org/wiki/Norm_(mathematics)#Euclidean_norm).Compute the euclidian/l2 norm of a vector.
```bash
npm install l2-norm
yarn add l2-norm
``````js
const l2norm = require('l2-norm');
l2norm([64, 42, 21]);
// ~79.38
```## License
eveningkid, MIT