Commit Graph

114 Commits

Author SHA1 Message Date
Iaroslav Postovalov
612f6f0082
Refactor, remove unused files, remove BasicSampler 2020-10-16 16:49:47 +07:00
Iaroslav Postovalov
26d81bddb5
Merge remote-tracking branch 'origin/dev' into mp-samplers
# Conflicts:
#	examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionBenchmark.kt
2020-10-02 01:35:55 +07:00
Iaroslav Postovalov
53ebec2e01
Perform 1.4 and explicit API migrations, refactor blocking chain, make tests work 2020-09-27 15:16:12 +07:00
Iaroslav Postovalov
e35a364aa8
Merge remote-tracking branch 'origin/dev' into mp-samplers
# Conflicts:
#	examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionBenchmark.kt
#	examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionDemo.kt
#	kmath-coroutines/src/commonMain/kotlin/kscience/kmath/chains/Chain.kt
#	kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/BlockingIntChain.kt
#	kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/BlockingRealChain.kt
#	kmath-prob/build.gradle.kts
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/Distribution.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/AhrensDieterExponentialSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/AhrensDieterMarsagliaTsangGammaSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/AliasMethodDiscreteSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/BoxMullerNormalizedGaussianSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/GaussianSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/InternalGamma.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/InternalUtils.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/KempSmallMeanPoissonSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/LargeMeanPoissonSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/MarsagliaNormalizedGaussianSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/NormalizedGaussianSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/PoissonSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/SmallMeanPoissonSampler.kt
#	kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/ZigguratNormalizedGaussianSampler.kt
#	kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/FactorizedDistribution.kt
#	kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/RandomChain.kt
#	kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/RandomGenerator.kt
#	kmath-prob/src/jvmMain/kotlin/kscience/kmath/prob/distributions.kt
#	kmath-prob/src/jvmMain/kotlin/scientifik/kmath/prob/RandomSourceGenerator.kt
2020-09-27 14:54:20 +07:00
Iaroslav
12b599fff2
Fix some packaging issues, add some KDoc comments, minor refactor 2020-09-23 21:15:54 +07:00
28190f9800 scientifik -> kscience 2020-09-20 22:39:27 +03:00
Iaroslav Postovalov
b5fa1ed6e8
Merge remote-tracking branch 'origin/dev' into mp-samplers
# Conflicts:
#	kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/BlockingIntChain.kt
#	kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/BlockingRealChain.kt
#	kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/Chain.kt
#	kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/RandomChain.kt
2020-09-10 23:42:33 +07:00
Iaroslav Postovalov
fc5ec8fed7
Drop koma support, add more explicit visibility modifiers 2020-09-09 22:31:54 +07:00
Iaroslav Postovalov
8ae9a071ef
Add more explicit public modifiers 2020-09-09 21:12:18 +07:00
Iaroslav Postovalov
f567f73d19
Specify explicit API visbility, minor refactoring (error handling, etc.) 2020-09-09 11:28:54 +07:00
Iaroslav Postovalov
6b79e79d21
Update tools and Kotlin, specify public explicitly, minor contracts refactor 2020-09-09 09:55:26 +07:00
Iaroslav
5e4522bb06
Upgrade build tools plugin to dev version; file reformat; change dependencies' versions; specify visibility explicitly at certain places (core, especially), make some interfaces fun 2020-09-08 16:40:47 +07:00
Iaroslav Postovalov
40888f66d6
Replace opt-in annotations with useExperimentalAnnotation for modules 2020-08-22 16:49:21 +07:00
Iaroslav
1d18832aa6
Provide contracts for many functions, make inline several functions, replace <algebra>.run { and with(<algebra>> { with <algebra> {, add newlines at EOFs, specify operator modifier explicitly at many places, reformat files, replace if (...) error guards with require and check 2020-08-22 02:42:59 +07:00
Iaroslav
6114099e68
Edit doc files, update readmes, document coroutines API 2020-08-08 15:51:04 +07:00
Iaroslav
cb5234a334
Document AST and expressions API, implement ExtendedField over MST and Expression<T> 2020-08-08 04:57:20 +07:00
Iaroslav
551d4991fb
Merge remote-tracking branch 'origin/dev' into mp-samplers 2020-06-27 20:47:57 +07:00
4b067f7a97 DoubleBuffer -> RealBuffer. Number algebra refactoring. 2020-06-27 12:19:43 +03:00
Iaroslav
a03c82f758
Simplify BlockingIntChain and BlockingRealChain; add blocking extension function for RandomChain; copy general documentation to samplers created with Apache Commons RNG 2020-06-12 02:49:06 +07:00
Iaroslav
28062cb096
Minimal refactor of existing random API, move samplers implementations to samplers package, implement Sampler<T> by all the Samplers 2020-06-08 17:16:57 +07:00
8533a31677 Optimized blocking chains for primitive numbers generation. 2020-05-23 10:45:02 +03:00
048a1ceaed Moved probability distributions to commons-rng and to prob module 2020-05-22 21:24:20 +03:00
646207e140 Equlity half-fix for NDStructure 2020-05-06 10:50:08 +03:00
2e057c409b RealHistogram counts weights 2020-04-30 11:20:28 +03:00
28ef591524 Chain implements Flow 2020-04-26 20:04:15 +03:00
1e70bebba6 Version update + some useful extensions 2019-11-20 16:12:41 +03:00
92b4e6f28c Tools to evaluate statistic 2019-08-25 10:51:25 +03:00
645d81abf0 Build migrated to gradle-tools 1.4 2019-08-24 09:00:04 +03:00
7f3dd95e72 Moved to scientifik plugin. Removed depricated Vector 2019-07-17 14:21:37 +03:00
e077da39c8 Sampler space 2019-06-09 17:17:13 +03:00
fe05fc5a14 Added chain mappers 2019-06-09 10:06:48 +03:00
2e76073712 Initial work on distributions 2019-06-07 15:08:05 +03:00
5be55560cf Merged build config changes from dataforge 2019-05-31 13:03:00 +03:00
c77d9cbb08 Bump kotlin verision to 1.3.31 2019-05-02 10:10:04 +03:00
fcab05b683 Fixes in flow transformations 2019-04-30 09:15:31 +03:00
f79a9e86a1 Concurrent map for flows 2019-04-29 22:14:04 +03:00
6f4f658030 Concurrent map for flows 2019-04-29 21:48:05 +03:00
3ddff86e24 Windowed flow test 2019-04-28 17:54:50 +03:00
d138ce3889 Parallel flow 2019-04-28 13:56:19 +03:00
08e14b15c5 Migrating streaming to Flow 2019-04-27 22:15:21 +03:00
68ccc0b3fc Migrating streaming to Flow 2019-04-26 21:36:28 +03:00
1b5e9cdd35 Build migration finished 2019-04-24 10:44:03 +03:00
8208cb772f Chains moved to coroutines. Cumulatives to core 2019-04-24 09:36:43 +03:00
9182a4279c Revert to single build file 2019-04-23 22:31:05 +03:00
Andrey Mischenko
bae77b6979
Use type safe plugin accessors, collapse some nested DSLs, removed duplicate declarations 2019-04-23 18:07:36 +08:00
Andrey Mischenko
f797d7b082
Use type safe accessors for sourceSets that available now with multiplatform-config 2019-04-23 17:47:57 +08:00
Andrey Mischenko
eb2162987b
WIP move config to buildSrc 2019-04-23 16:07:26 +08:00
Andrey Mischenko
e30337e196
WIP move config to buildSrc 2019-04-23 15:13:10 +08:00
123e0176b8 Documentation in progress. 2019-02-13 14:55:44 +03:00
f8ec82d8c0 Updated build in coroutines 2019-02-12 14:14:16 +03:00
d04ee956e5 Lazy structures revision 2019-02-12 14:06:37 +03:00
3413d21385 Fixed atomicfu build issues (no js) 2019-02-03 13:07:35 +03:00
876a363e0b Cleanup after nd optimization phase II 2019-01-08 19:10:08 +03:00
05d15d5b34 Cleanup after nd optimization phase I 2019-01-08 10:35:00 +03:00
c161ef0b57 Documentation for nd-performance 2019-01-07 17:18:31 +03:00
12b343e905 Removed GenericNDField. Additional cleanup 2019-01-05 12:43:51 +03:00
600d8a64b8 Fixes to tests and lazy structures 2019-01-04 20:23:32 +03:00
c0a43c1bd1 Code style update + RealNDField tweaks 2019-01-04 18:12:28 +03:00
53d752dee8 Major refactoring of types for algebra elements. Element type could differ from field type. 2019-01-03 20:48:10 +03:00
622a6a7756 Removed empty files and fixed one test 2018-12-31 14:10:02 +03:00
b47cdd12c2 Adjustments to RealNDField 2018-12-31 13:48:27 +03:00
334dadc6bf Specialized BufferNDField 2018-12-30 19:48:32 +03:00
ad5e14e9a2 Doc update. Name refactoring in NDField 2018-12-26 14:35:51 +03:00
cddea1869d Lazy structures, structure is no longer iterable, removed copy on read-only buffers. 2018-12-11 17:25:55 +03:00