-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile-time precision set, Pi->PI, inverse-var weighed average & red…
…ucer (#20) * Allow compile-time setting of printing precision (number of places for the error; `cligen/strUt.fmtUncertain` rounds value to same decimal). 810bdfb changed the default here from 2 to 3, but some users might even want 1. * `Pi` -> `PI` because that is how `std/math.nim` spells it. This lets users do `nim c --hint:Name:on --styleCheck=error --styleCheck=usages`. * Add inverse-var weighted averaging operator & varargs/openArray reducer with a URI justifying the weights. * Update README per new compile-time override of uncertain precision. * Fix typo in spelling of `import measuremancer` in unchained example. * Improve doc comment of `mean` & add one for `+/` adapting extant text.
- Loading branch information
Showing
2 changed files
with
40 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters