Skip to content

NicklasXYZ/gleam_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gleam_stats

Package Version Hex Docs

A Gleam mathematics and statistics library. The library supports both targets: Erlang and JavaScript.

The repository is available on:

The documentation is hosted on:

Installation

The library is available on Hex so it can be added to your Gleam project by simply running:

gleam add gleam_stats

Disclaimer

To align the Gleam and Javascript implementation of the library, the JavaScript implementation utilizes the decimal.js library internally for computations that require arbitrary precision integers and floating-point values. However, the input and output of the different functions in the JavaScript implementation of the library are still constrained by the precision of the JS Number primitive.

Development

# Run the tests
gleam test

# Build and run docs locally
gleam docs build && python -m http.server