Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxgfr/gaussian-helper
A simple tool to help you with Gaussian calculations
https://github.com/maxgfr/gaussian-helper
gaussian gaussian-distribution gaussian-helper gaussian-processes javascript nodejs typescript
Last synced: 7 days ago
JSON representation
A simple tool to help you with Gaussian calculations
- Host: GitHub
- URL: https://github.com/maxgfr/gaussian-helper
- Owner: maxgfr
- License: mit
- Created: 2022-12-07T17:49:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:26:52.000Z (15 days ago)
- Last Synced: 2024-10-29T18:49:46.193Z (15 days ago)
- Topics: gaussian, gaussian-distribution, gaussian-helper, gaussian-processes, javascript, nodejs, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/gaussian-helper
- Size: 1.78 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# gaussian-helper
A simple tool to help you with Gaussian calculations.
## Installation
```bash
yarn add gaussian-helper
```## Usage
```ts
import { getMedian, getMean, getStandardDeviation } from 'gaussian-helper';const values = [10, 2, 3, 4, 5];
const median = getMedian(values); // 4
const mean = getMean(values); // 4.800000000000001
const standardDeviation = getStandardDeviation([1, 2, 3, 4, 5]); // 1.4142135623730951
```