elynx-tools-0.0.1: Tools for ELynx.

Copyright(c) Dominik Schrempf 2019
LicenseGPL-3
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Tools.Numeric

Description

Creation date: Thu Feb 14 13:28:37 2019.

Numerical functions.

Synopsis

Documentation

harmonic :: Int -> Double Source #

Calculate the nth harmonic number.

xLogX :: Double -> Double Source #

Calculate x*log(x) but set to 0.0 when x is smaller than eps.

roundN :: Int -> Double -> Double Source #

Round double to a given precision.