Commit Graph

20 Commits

Author SHA1 Message Date
ringabout
4d11d0619d complete std prefixes for stdlib (#22887)
follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
2023-10-30 17:03:04 +01:00
ringabout
3d2f0e2c7c make more standard libraries work with nimPreviewSlimSystem (#20343)
* make more standard libraries work with `nimPreviewSlimSystem`

* typo

* part two

* Delete specutils.nim

* fixes more tests

* more fixes

* fixes tests

* fixes three more tests

* add formatfloat import

* fix

* last
2022-09-27 20:06:23 +02:00
konsumlamm
2d84f6e7c8 Fix #18718 (#18731)
Update tests
2021-08-23 00:13:39 +02:00
Andreas Rumpf
a9b62de895 CIs: attempt to use csources_v1 (#16282)
* CIs: attempt to use csources_v1
* also updated the BSDs
* also updated azure pipelines
* std modules should not itself use the 'std/' import dir...
* compiler has to be careful with std/ for v1 booting
2021-04-21 07:41:33 +02:00
konsumlamm
bd5ce5b351 Improve documentation for stats (#16742)
* Improve documentation for stats

* Address nits

* Update lib/pure/stats.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2021-01-19 08:40:09 +01:00
ee7
297c8e403d styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
flywind
cbc793b30b move tests to testament (#16101)
* move tests to testament

* minor

* fix random

* disable test random
2020-11-24 19:06:41 +01:00
Juan Carlos
4816984726 Documentation, add more examples (#13825) 2020-04-01 19:39:58 +02:00
Juan Carlos
42d2c3088e Add Documentation (#13811)
* Add more Docs and runnableExamples
2020-03-31 15:47:57 +02:00
narimiran
5732bb41ef [backport] run nimpretty on the remaining files 2019-09-30 13:58:17 +02:00
Andreas Rumpf
1332f649b2 stats.nim: bugfix: use min in '+' [backport] 2019-03-23 15:09:28 +01:00
Vindaar
7424ea4315 fix typo in stats module (#10562) [ci skip] 2019-02-05 15:37:55 +01:00
Araq
bbb0fd4eb7 remove deprecated stuff from the stdlib; introduce better deprecation warnings 2018-05-05 21:45:07 +02:00
Andreas Rumpf
ffd8e922a1 stats.nim: add a '$' operator for RunningStat 2018-01-18 10:45:46 +01:00
Araq
77677c73c8 made test green for 32bit system 2016-09-30 22:14:29 +02:00
JamesP
41861711c8 add doco for array/seq helper procs 2015-11-12 07:03:16 +10:00
JamesP
52e40995b7 added helper procs for standalone calc of stats for array/seq
Changed derivation to use runningstats, so there
is a single point of truth for the calculations, and provides
more stats functions
2015-11-12 06:33:26 +10:00
JamesP
4cefbc2914 add comment to identify where RunningStat code resides 2015-11-11 08:56:51 +10:00
JamesP
7d62b9fc1a add sum back in, fix min inital value, tidy up spaces in
code and comment wording, add a sum test assertion
2015-11-07 18:00:21 +10:00
JamesP
cdd00c4df6 Add RunningStat related statistics code removed from math lib,
and add new functionality
- skewness & kurtosis (3rd and 4th stat moments)
- addition ops for RunningStat
- RunningRegress object
- slope, intercept and correlation regression procs
- addition ops for RunningRegress
2015-11-07 15:15:30 +10:00