Dev #127

Merged
altavir merged 214 commits from dev into master 2020-08-11 08:33:21 +03:00

214 Commits

Author SHA1 Message Date
Alexander Nozik
c4a2489b81
Merge pull request #126 from mipt-npm/add-changelog
Add changelog
2020-08-11 08:32:22 +03:00
Iaroslav
b65641ddbb
Add header to changelog 2020-08-11 02:39:01 +07:00
Iaroslav
53a54300fa
Add changelog 2020-08-11 02:36:08 +07:00
Iaroslav
71c4ee0655
Add average and averageWith space extensions 2020-08-10 01:42:11 +07:00
Iaroslav
6329722131
Fix typos 2020-08-10 01:30:32 +07:00
Alexander Nozik
e2e26c106f
Merge pull request #125 from mipt-npm/more-docs
Extended documentation, code refactoring, API consistency changes
2020-08-09 18:48:26 +03: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
c8cd6cd288
Document memory module and several ND objects 2020-08-08 04:21:59 +07:00
Iaroslav
0a8044ddb3
Update buffers documentation, make API more consistent, minor changes 2020-08-07 15:20:26 +07:00
Iaroslav Postovalov
9f6bd116f6
Document and make more consistent buffers API 2020-08-06 12:39:50 +07:00
Iaroslav Postovalov
eae218ff5f
Update algebra extensions, improve docs 2020-08-05 20:55:50 +07:00
Iaroslav Postovalov
4c39b98017
Update documentation of NumberAlgebra 2020-08-05 18:44:28 +07:00
Iaroslav Postovalov
7d32fe0af8
Update documentation of NumberAlgebra 2020-08-05 18:43:20 +07:00
Iaroslav Postovalov
8367e13057
Improve documentation of complex and memoryspec 2020-08-05 18:41:58 +07:00
Iaroslav Postovalov
aed10329eb
Improve documentation of elements 2020-08-05 17:30:11 +07:00
Iaroslav Postovalov
8debed7048
Improve documentation 2020-08-05 17:25:56 +07:00
Iaroslav
ae7aefeb6a
Specify type explicitly EVERYWHERE in kmath-core, add newlines at ends of files, refactor minor problems, improve documentation 2020-08-05 03:58:00 +07:00
Iaroslav
9fded79af0
Move codestyle.md 2020-07-31 16:46:32 +07:00
Iaroslav Postovalov
b9f871ae76
Upgrade Gradle from 6.5 to 6.5.1 2020-07-30 03:43:57 +07:00
c2ca7b871d Merge SCI-MR-10 from improved-java-math-big-numbers 2020-07-29 08:39:19 +00:00
Alexander Nozik
87ff735a31
Update Dimensions.kt
Fix D3 typo.
2020-07-28 09:02:03 +03:00
Alexander Nozik
e714c9b808
Merge pull request #120 from mipt-npm/extended-grammar
Extend mathematic operations support in the kmath-ast parser
2020-07-27 19:37:08 +03:00
Iaroslav
11c98d6acf
Upgrade better-parse to 0.4.0 2020-07-27 23:06:28 +07:00
Iaroslav
0995dca8b8
Delete unchecked cast, revert evaluate changes, add RealField handling "pow" operation 2020-07-27 20:46:57 +07:00
Iaroslav
c64a89c6b6
Implement power as binary operation with unchecked cast, add tests on parser precedence 2020-07-27 19:27:59 +07:00
Iaroslav
1ebd362696
Update num token in reference 2020-07-27 15:58:09 +07:00
Iaroslav
f8383deb70
Fix operators in reference 2020-07-27 15:49:36 +07:00
Iaroslav
a5499260fa
Update num rule to match 1e+1 like numbers 2020-07-27 15:45:05 +07:00
Iaroslav
45087f8b2d
Add capital latin letters support 2020-07-27 15:37:18 +07:00
Iaroslav
e0d550d39c
Merge remote-tracking branch 'origin/master' into dev 2020-07-27 15:33:17 +07:00
Iaroslav Postovalov
186575d8b3
Override number function for JBigIntegerField and JBigDecimalField 2020-07-26 11:28:19 +07:00
Iaroslav Postovalov
2864b2d12e
Move https://dl.bintray.com/hotkeytlt/maven to another RepositoryHandler 2020-07-26 11:17:47 +07:00
Iaroslav Postovalov
7820ffb150
Merge branch 'dev' into extended-grammar 2020-07-20 20:41:14 +07:00
Iaroslav Postovalov
bce2a8460e
Add reference ANTLR grammar, implement missing rules and operations in parser, also add support for symbols in ASM 2020-07-20 20:40:03 +07:00
Iaroslav
2b6bf69503
Add missing repositories 2020-07-03 20:21:41 +07:00
Iaroslav
e96ecaddcf
Revert implementing PowerOperations for JBigIntegerField 2020-06-28 22:21:18 +07:00
Iaroslav
1614eef452
Revert change of JBigIntegerField to Ring, delete unused psvm function 2020-06-28 22:10:39 +07:00
Iaroslav
415d11749a
Improve big arithmetics algebra in JVM module of kmath-core 2020-06-28 22:06:50 +07:00
Iaroslav
3d85c22497
Encapsulate classOfT property of AsmBuilder 2020-06-28 19:09:43 +07:00
Iaroslav
2a34110f1d
Implement advanced specialization for numeric functions 2020-06-28 17:16:15 +07:00
Iaroslav
7372197fe1
Specifty type explicitly 2020-06-28 02:10:26 +07:00
Iaroslav
63c001648e
Remove duplicated code, optimize constants field generation, add overloads for getOrFail in mapIntrinsics 2020-06-28 02:08:26 +07:00
Iaroslav
d7f5d9f53f
Add general repository reference to kmath-ast/README.md 2020-06-27 22:21:44 +07:00
Iaroslav
9b03fdb655
Update kmath/ast README.md to add Maven artifact reference 2020-06-27 22:18:58 +07:00
Iaroslav
54cb9b1883
Update kmath-ast/README.md to decipher acronyms 2020-06-27 21:56:58 +07:00
Alexander Nozik
896cc3dc51
Merge pull request #114 from mipt-npm/adv-expr-improved-trigonometry
Improved trigonometry operations
2020-06-27 16:39:37 +03:00
Iaroslav
e91c5a57c4
Minor refactor for changed ExtendedFieldOperations, replace DoubleBuffer with RealBuffer 2020-06-27 20:31:42 +07:00
Iaroslav
a71c02e9ed
Merge remote-tracking branch 'origin/dev' into adv-expr-improved-trigonometry
# Conflicts:
#	kmath-ast/README.md
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/buildName.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/classWriters.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/methodVisitors.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/specialization.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealBufferField.kt
2020-06-27 20:24:41 +07:00
Iaroslav
e98fc126c4
Merge various codegen utilities into one file 2020-06-27 20:15:14 +07:00
Iaroslav
efcfb44253
Refactor Algebra call building 2020-06-27 20:04:22 +07:00
Iaroslav
27605aee82
Merge remote-tracking branch 'origin/dev' into adv-expr 2020-06-27 19:56:00 +07:00
4b067f7a97 DoubleBuffer -> RealBuffer. Number algebra refactoring. 2020-06-27 12:19:43 +03:00
Iaroslav
bf89aa09e5
Add static imports for Opcodes 2020-06-26 22:05:42 +07:00
Iaroslav
37ef3a1879
Add explicit toRegex call to have better IDE support 2020-06-26 21:39:39 +07:00
Iaroslav
ec46f5cf22
Update README.md 2020-06-26 21:02:31 +07:00
Iaroslav
d962ab4d11
Rename and refactor MstAlgebra (ex-MSTAlgebra) (and its subclasses), MstExpression (ex-MSTExpression) 2020-06-26 21:02:22 +07:00
Iaroslav
0ee1d31571
Fix MSTField and MSTRing invalid unary operation, update according ASM tests 2020-06-26 20:57:47 +07:00
Iaroslav
2df97ca4c3
Update README.md, add suppression 2020-06-26 16:05:13 +07:00
Iaroslav
092728b1c3
Replace Stack with ArrayDeque 2020-06-26 16:01:50 +07:00
Iaroslav
90c287d42f
Add tests for MapInstrinsics 2020-06-26 15:59:24 +07:00
Iaroslav
5ab6960e9b
Add mapIntrinsics.kt, update specialization mappings 2020-06-26 15:55:01 +07:00
Iaroslav
a275e74cf2
Add mapping for other dynamic operations 2020-06-26 14:57:07 +07:00
Iaroslav
e2cc3c8efe
Specify type explicitly, minor implementation refactor 2020-06-25 20:54:14 +07:00
Iaroslav
c8fbc2d8be
Merge remote-tracking branch 'origin/master' into adv-expr 2020-06-25 20:11:14 +07:00
Iaroslav
3528fa16db
Add missing dependency in examples 2020-06-25 20:10:38 +07:00
Iaroslav
7faa48be58
Add zero call in MSTField test 2020-06-25 19:46:32 +07:00
Iaroslav
46f99139e2
Update number literal call in tests 2020-06-25 19:45:33 +07:00
Iaroslav
23816d3366
Update KDoc comments, optimize imports 2020-06-25 19:42:13 +07:00
Iaroslav
b11a7f1426
Update README.md 2020-06-25 19:29:31 +07:00
Commander Tvis
002de8d23a
Merge remote-tracking branch 'origin/dev' into adv-expr
# Conflicts:
#	examples/build.gradle.kts
2020-06-25 10:28:32 +07:00
Commander Tvis
c9de04a610
Make benchmarks 'naive' 2020-06-25 10:24:21 +07:00
Commander Tvis
da1cac5fa8
Merge branch 'adv-expr' into adv-expr-benchmarks-2 2020-06-25 10:14:16 +07:00
Commander Tvis
f7f9ce7817
Delete AsmCompiledExpression abstract class, implement dynamic field generation to reduce quantity of cast instructions, minor refactor and renaming of internal APIs 2020-06-25 10:08:54 +07:00
Commander Tvis
e47ec1aeb9
Delete AsmCompiledExpression abstract class, implement dynamic field generation to reduce quantity of cast instructions, minor refactor and renaming of internal APIs 2020-06-25 10:07:36 +07:00
Iaroslav
7ddab0224a
Merge remote-tracking branch 'origin/adv-expr' into adv-expr-improved-trigonometry 2020-06-24 21:21:39 +07:00
Iaroslav
c78663dfe7
Merge remote-tracking branch 'origin/adv-expr' into adv-expr-benchmarks-2 2020-06-24 21:20:31 +07:00
Iaroslav
fffc752153
Add more tests and improve current, fix type stack underflow exception 2020-06-24 21:17:06 +07:00
Iaroslav
fb135bd21e
Merge remote-tracking branch 'origin/adv-expr' into adv-expr-benchmarks-2 2020-06-24 21:05:05 +07:00
b565b7f312 Merge SCI-MR-9 from adv-expr-eliminate-bridging 2020-06-24 14:01:42 +00:00
Iaroslav
02f42ee56a
Eliminate bridging 2020-06-24 20:55:48 +07:00
Iaroslav
f16ebb1682
Remove accidentally left debug main function 2020-06-24 15:55:25 +07:00
Iaroslav
9a3709624d
Use hashMap instead of map 2020-06-24 15:54:17 +07:00
Iaroslav
f475335df1
Merge remote-tracking branch 'origin/adv-expr' into adv-expr-eliminate-bridging
# Conflicts:
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/asm.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt
2020-06-24 15:53:19 +07:00
ea8c0db854 Histogram bin fix 2020-06-23 21:46:05 +03:00
668d13c9d1 Minor refactoring + domains 2020-06-23 20:03:45 +03:00
Iaroslav
a152f5e341
Merge remote-tracking branch 'origin/master' into adv-expr-improved-trigonometry 2020-06-23 22:35:58 +07:00
Iaroslav
13e2f9645e
Merge remote-tracking branch 'space/adv-expr' into adv-expr-improved-trigonometry 2020-06-23 22:33:04 +07:00
Iaroslav
675ace272c
Minor Gradle settings modification, add benchmarks of different Expression implementatinos 2020-06-23 03:38:20 +07:00
Iaroslav
7c7065542a
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-lconst 2020-06-23 03:08:25 +07:00
Iaroslav
29c6d25967
Optimize constant pooling for Byte and Short 2020-06-22 15:15:46 +07:00
Iaroslav
e99f7ad360
Optimize constant pooling 2020-06-22 04:05:52 +07:00
Alexander Nozik
24828e7a26
Merge pull request #111 from CommanderTvis/adv-expr-readme
Update readme, accident documentation-related refactor
2020-06-21 22:05:29 +03:00
Iaroslav
62ebda3302
Update readme, accident documentation-related refactor 2020-06-21 20:23:50 +07:00
Iaroslav
d7968c08c6
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonometry 2020-06-20 02:29:03 +07:00
Alexander Nozik
8adfef22a2
Merge pull request #109 from CommanderTvis/adv-expr-more-docs
Fill in the lack of documentation of kmath-ast module for adv-expr
2020-06-19 21:16:43 +03:00
Iaroslav
635d708de5
Add missing KDoc comments 2020-06-20 00:08:53 +07:00
Iaroslav
ba499da2da
More KDoc comments 2020-06-20 00:05:00 +07:00
Iaroslav
e9ff33c4f9
Write KDoc comments for AsmBuilder, minimal refactor of it 2020-06-19 23:56:35 +07:00
Iaroslav
418c29630f
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonometry 2020-06-19 21:01:44 +07:00
Iaroslav
d6e7eb8143
Add advanced specialization for primitive non-bridge methods 2020-06-18 11:35:20 +07:00
a1f0188b8b Functional expression builders 2020-06-16 16:29:52 +03:00
Commander Tvis
41a81e7a14
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonometry 2020-06-16 19:42:16 +07:00
8264806958 Algebra delegates update. 2020-06-16 14:52:02 +03:00
Iaroslav
d3090320c2
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-improved-trigonometry 2020-06-16 14:51:46 +07:00
Alexander Nozik
71846a3279
Merge pull request #106 from CommanderTvis/dataviewmemory-copy
Implement copy for DataViewMemory
2020-06-16 10:47:17 +03:00
Iaroslav
8693ddce7c
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonometry 2020-06-16 14:41:04 +07:00
Iaroslav
f8f1814def
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonometry 2020-06-16 14:40:41 +07:00
d73f564fb4 Merge remote-tracking branch 'origin/adv-expr' into adv-expr 2020-06-16 10:33:16 +03:00
Alexander Nozik
7c769bf74a
Merge pull request #105 from CommanderTvis/adv-expr-refactor-agc
Refactor ASM generation code
2020-06-16 10:30:05 +03:00
3d5036c982 Fix MSTAlgebra delegation 2020-06-16 10:27:54 +03:00
Iaroslav
c3cecc5a16
Rename variable 2020-06-16 14:21:13 +07:00
Iaroslav
91a9e2a5e9
Remove @PublishedApi 2020-06-16 14:20:17 +07:00
Iaroslav
15d7a20b43
Add removed AsmCompiledExpression, move buildName to buildName.kt, refactor compileWith 2020-06-16 14:16:36 +07:00
Iaroslav
fe64537cbc
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-refactor-agc
# Conflicts:
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/AsmExpressions.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/asm.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/optimization.kt
2020-06-16 13:28:25 +07:00
96550922cd Removal of AsmExpression 2020-06-15 22:07:31 +03:00
Iaroslav
19c3f03cc6
Specify types explicitly 2020-06-16 01:53:12 +07:00
Iaroslav
548966f5bd
Implement copy for DataViewMemory 2020-06-16 01:50:20 +07:00
Commander Tvis
c10901ae98
Merge branch 'adv-expr' into adv-expr-improved-trigonometry 2020-06-15 21:02:58 +07:00
Commander Tvis
1e2460c5b3
Rename 2020-06-15 21:02:38 +07:00
Iaroslav
2580ab347e
Make ClassWriter extensions internal 2020-06-15 17:37:11 +07:00
Iaroslav
521ea8bddc
Rename ClassWriters.kt to be consistent with local code style, rename AsmBuilders.kt to asm.kt, rename AsmNode back to AsmExpression, rename AsmGenerator to AsmBuilder 2020-06-15 17:36:30 +07:00
Iaroslav
b57b55ec1a
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-refactor-agc
# Conflicts:
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/AsmBuilders.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/AsmExpressions.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/optimization.kt
2020-06-15 17:23:35 +07:00
3434dde1d1 ASM API simplification 2020-06-15 11:02:13 +03:00
Iaroslav
a7302f49ff
Convert to expression body 2020-06-14 23:13:26 +07:00
Iaroslav
a8fa385497
Rename loadFromVariables to loadVariable 2020-06-14 23:01:34 +07:00
Iaroslav
4e28ad7d4e
Minor refactor 2020-06-14 23:00:26 +07:00
Iaroslav
635aac5f30
Refactor ex-AsmGenerationContext, introduce many bytecode utility functions to make its code readable, update compile method 2020-06-14 22:58:09 +07:00
Iaroslav
9b2eab6bc4
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-improved-trigonomery 2020-06-14 01:44:13 +07:00
Iaroslav
95d5e4a688
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonomery 2020-06-14 01:27:47 +07:00
Alexander Nozik
878d1379e1
Merge pull request #94 from CommanderTvis/adv-expr
Optimization of expressions via ASM Bytecode Generation
2020-06-13 21:07:14 +03:00
3f2520eecb Merge remote-tracking branch 'origin/dev' into dev 2020-06-13 20:52:01 +03:00
318c3972fc Local code style 2020-06-13 20:51:37 +03:00
Iaroslav
d3d348620a
Rename AsmExpression to AsmNode, encapsulate AsmGenerationContext, make AsmNode (ex-AsmExpression) an abstract class instead of interface 2020-06-14 00:30:39 +07:00
Iaroslav
28cecde05b
Fix compilation problems found after merge 2020-06-14 00:24:10 +07:00
Iaroslav
cedfd3fe09
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-asm
# Conflicts:
#	kmath-ast/build.gradle.kts
#	kmath-ast/src/commonMain/kotlin/scientifik/kmath/ast/parser.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/ast/Parser.kt
#	kmath-ast/src/jvmMain/kotlin/scientifik/kmath/ast/parser.kt
2020-06-14 00:21:07 +07:00
Iaroslav
af410dde70
Apply the suggested changes 2020-06-14 00:18:40 +07:00
Iaroslav
48b688b6b1
Fix minor problems occured after merge 2020-06-14 00:06:12 +07:00
0950580b85 Moe better-parse to common.
Watch for https://github.com/h0tk3y/better-parse/issues/27
2020-06-13 18:26:18 +03:00
Iaroslav
e91f6470d3
Implement constants inlining 2020-06-13 17:07:22 +07:00
Iaroslav
f9835979ea
Fix specification bug 2020-06-13 16:48:45 +07:00
Commander Tvis
76ad027460
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-improved-trigonomery
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/NumberAlgebra.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/OptionalOperations.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/ExtendedNDField.kt
2020-06-13 16:41:26 +07:00
Iaroslav
e65d1e43cf
Write tests 2020-06-13 16:16:57 +07:00
Iaroslav
223d238c43
Encapsulate MethodVisitor extensions 2020-06-13 15:53:54 +07:00
Iaroslav
834d1e1397
Move specific optimization functions to Optimization 2020-06-13 15:53:25 +07:00
Iaroslav
1582fde091
Replace JUnit @Test with kotlin-test @Test 2020-06-13 15:51:42 +07:00
866ae47239 replace raw by symbol in algebra 2020-06-13 11:51:33 +03:00
Iaroslav
fec8c7f9d1
Minor refactor and encapsulation 2020-06-13 15:50:21 +07:00
Iaroslav
36ad1fcf58
Minor refactor and document 2020-06-13 15:44:54 +07:00
Iaroslav
3ec1f7b5f1
Merge kmath-asm and kmath-ast modules, make all the ExpressionAlgebras concise and consistent, implement new-styled builders both for ASM and F. expressions 2020-06-13 02:26:12 +07:00
Iaroslav
b902f3980a
Fix issues found after merge 2020-06-12 22:10:56 +07:00
Iaroslav
07b938e582
Merge remote-tracking branch 'mipt-npm/adv-expr' into adv-expr-asm
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/functionalExpressions.kt
#	settings.gradle.kts
2020-06-12 21:58:50 +07:00
09641a5c9c Documentation 2020-06-12 16:59:36 +03:00
2751cee926 MST expression 2020-06-12 16:56:58 +03:00
Iaroslav
39907a1da2
Add name adapting of *, +, / 2020-06-12 19:50:28 +07:00
Iaroslav
af9e1bb944
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-improved-trigonomery 2020-06-12 17:41:47 +07:00
Iaroslav
1b20978f9c
Merge remote-tracking branch 'mipt-npm/dev' into adv-expr-asm 2020-06-12 17:41:05 +07:00
047af8c172 Fix ND extendend fields 2020-06-12 11:11:13 +03:00
5e92d85c46 Separate ast module 2020-06-12 10:40:59 +03:00
66c5c392cb Merge remote-tracking branch 'origin/dev' into adv-expr 2020-06-12 09:22:55 +03:00
Alexander Nozik
e367895beb
Merge pull request #97 from CommanderTvis/master
Upgrade Gradle from 6.3 to 6.5
2020-06-12 09:22:05 +03:00
a77d3d0bbf Merge branch 'dev' of https://github.com/altavir/kmath into adv-expr 2020-06-12 08:46:45 +03:00
8f204d0e64 Merge branch 'dev' into adv-expr 2020-06-12 08:44:06 +03:00
f46615d3bc Left and right-side operations in Algebra 2020-06-12 08:43:47 +03: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
0507bfcc24 Expression simplification 2020-06-11 09:46:42 +03: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
774b1123f7 Minor change in grid builders 2020-06-08 12:07:27 +03: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
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
Iaroslav
41094e63da
Optimize number constants placing to economize contant pool places 2020-06-06 21:48:52 +07:00
Iaroslav
30b32c1515
Move initialization code to separate method to make AsmGenerationContext restartable 2020-06-06 21:45:15 +07:00
Iaroslav
723bd84417
Remove unused import 2020-06-06 21:06:15 +07:00
Iaroslav
d6d9351c9c
Add more tests 2020-06-05 23:04:04 +07:00
Iaroslav
557142c2ba
Add more tests, fix constant product and product operations impl. 2020-06-05 23:02:16 +07:00
Iaroslav
fdd2551c3f
Minor refactor 2020-06-05 22:12:39 +07:00
Iaroslav
3ea76d56a5
Implement kmath-asm module stubs 2020-06-05 22:05:30 +07:00
8533a31677 Optimized blocking chains for primitive numbers generation. 2020-05-23 10:45:02 +03:00
3f68c0c34e Fix demo for distributions 2020-05-22 21:28:14 +03:00
048a1ceaed Moved probability distributions to commons-rng and to prob module 2020-05-22 21:24:20 +03:00
1a869ace0e Refactored Expression tree API 2020-05-15 16:10:19 +03:00
4a26c1080e A prototype for advanced expressoins 2020-05-14 20:30:43 +03:00
c15f77acef doc for realBuffer 2020-05-13 21:54:36 +03:00
e5ffb22126 For-real refactoring and test fix.
Never call equals on buffer
2020-05-07 09:54:46 +03:00
Alexander Nozik
7e31a98dc5
Merge pull request #91 from pklimai/more-tests
Fix tests
2020-05-06 20:02:59 +03:00
646207e140 Equlity half-fix for NDStructure 2020-05-06 10:50:08 +03:00
2c71818409 Fix matrix shape in RealMatrixTest 2020-05-05 22:44:44 +03:00