Commit Graph

1736 Commits

Author SHA1 Message Date
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
Commander Tvis
46f6d57fd9
Add 2 more samplers, replace SimpleChain with generator.chain 2020-06-12 01:13:15 +07:00
Alexander Nozik
916d6962e6
Merge pull request #101 from CommanderTvis/adv-expr-fix-multiply
Fix multiplication in several rings in NumberAlgebra
2020-06-11 13:25:36 +03:00
e8a6ecd5c3 Merge remote-tracking branch 'origin/adv-expr' into adv-expr 2020-06-11 12:47:01 +03:00
Commander Tvis
d0cc75098b
Rework with specialized NDStructure implementations 2020-06-11 14:36:19 +07:00
Commander Tvis
9a4dd31507
Move narrowToIntArray to new file 2020-06-11 14:17:46 +07:00
Commander Tvis
3df9892de5
Implement the ND4J module for scalars 2020-06-11 14:10:39 +07:00
0507bfcc24 Expression simplification 2020-06-11 09:46:42 +03:00
Commander Tvis
f364060acf
Add project stub 2020-06-11 12:16:22 +07:00
Commander Tvis
8cdc596549
Merge remote-tracking branch 'mipt-npm/dev' into dev 2020-06-11 10:39:05 +07:00
Commander Tvis
60898a3512
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-asm 2020-06-11 10:35:48 +07:00
Commander Tvis
a5fea4f22d
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-improved-trigonomery 2020-06-11 10:34:46 +07:00
Commander Tvis
757332e262
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-improved-trigonomery 2020-06-11 10:32:34 +07:00
Commander Tvis
91fa6d64bb
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-asm 2020-06-11 10:31:40 +07:00
Commander Tvis
ef67d82d84
Repair multiplication for Int, Long, Short, Byte Ring 2020-06-11 10:21:13 +07:00
Commander Tvis
89fae39013
Improve tests 2020-06-11 09:27:23 +07:00
Commander Tvis
62ca19bb64
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonomery 2020-06-11 08:51:38 +07:00
Commander Tvis
e6f97c532b
Minor refactor: replace space property with field 2020-06-11 08:50:37 +07:00
Commander Tvis
927aa589ad
Add missing override modifiers 2020-06-11 08:49:38 +07:00
Commander Tvis
a4dfb4eb15
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-asm
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/Expression.kt
2020-06-11 08:45:42 +07:00
Commander Tvis
a0453da4b3
Refactor, replace constants List with Array, create specification of named functions 2020-06-10 08:57:17 +07:00
Iaroslav
2e5c13aea9
Improve support of string-identified operations API, rework trigonometric operations algebra part: introduce inverse trigonometric operations, rename tg to tan 2020-06-10 02:05:13 +07:00
Iaroslav
1b6a0a13d8
Completely rework Expression API to expose direct unaryOperation and binaryOperation, improve ASM API accordingly 2020-06-10 00:44:56 +07:00
Iaroslav
33a519c10b
Apply new interfaces structure to ASM Expression Field/Space 2020-06-09 22:22:15 +07:00
Iaroslav
4dcdc0f99c
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-asm
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/Expression.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/FunctionalExpressions.kt
2020-06-09 22:17:42 +07:00
3e03f09504 Merge remote-tracking branch 'origin/adv-expr' into adv-expr 2020-06-09 14:44:11 +03:00
5dc07febe3 Expression simplification 2020-06-09 13:07:40 +03:00
2855ad29a4 Remove unused argument in functionalExpressions.kt 2020-06-09 11:14:47 +03:00
Iaroslav
65370f93fb
Make algebra and constants protected, fix tests 2020-06-08 23:18:08 +07:00
Iaroslav
822f960e9c
Fix broken demos, add newlines at the end of files 2020-06-08 18:19:18 +07:00
Iaroslav
246feacd72
Delete unused RandomGenerator-to-URP adapter 2020-06-08 18:05:56 +07:00
Iaroslav
46649a1ddf
Delete unused InternalUtils functions 2020-06-08 18:02:15 +07:00
Iaroslav
d4226b7e7d
Reformat 2020-06-08 17:38:48 +07:00
Iaroslav
5ff76209aa
Specify type explicitly 2020-06-08 17:37:35 +07:00
Iaroslav
2b24bd979e
Add Apache Javadocs references 2020-06-08 17:36:14 +07:00
Iaroslav
e7b1203c2d
Move init blocks checks to factory method of and make all the samplers' constructor private 2020-06-08 17:29:57 +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
774b1123f7 Minor change in grid builders 2020-06-08 12:07:27 +03:00
Iaroslav
bc59f8b287
Merger kmath-prob and kmath-commons-rng-part 2020-06-08 15:13:54 +07:00
Iaroslav
5d5ddd46d4
Upgrade Gradle 2020-06-08 14:53:14 +07:00
Iaroslav
8f1cf0179a
Minor refactor 2020-06-08 14:48:44 +07:00
Iaroslav
c576e46020
Minor refactor 2020-06-08 14:46:00 +07:00
Iaroslav
b7d1fe2560
Implement recursive constants evaluation, improve builders 2020-06-08 14:38:37 +07:00
Iaroslav
2de9548c23
Implement commons-rng particle in pure Kotlin 2020-06-07 22:12:04 +07:00
Commander Tvis
013030951e
Make AsmCompiledExpression fields private, add builder functions not to expose AsmGenerationContext to public API, refactor code 2020-06-07 19:23:39 +07:00
Commander Tvis
6ac0297530
Move asm dependency to implementation configuration; rename many ASM API classes, make AsmCompiledExpression implement functional Expression, fix typos, encapsulate AsmGenerationContext 2020-06-07 19:04:39 +07:00
Iaroslav
a2e33bf6d8
Add more test for ASM const product 2020-06-07 15:57:23 +07:00
Iaroslav
6686144538
Add type casts for constants 2020-06-06 22:09:18 +07:00
Iaroslav
fb74e74b01
Remove constant number allocation hack and support uncommon Number implementations to be available in constants 2020-06-06 22:05:25 +07:00
Iaroslav
cdb24ea8e2
Remove duplicate Short key from signatureLetters map 2020-06-06 21:51:22 +07:00