Commit Graph

338 Commits

Author SHA1 Message Date
1fbe12149d Advanced configuration API for cm-optimization 2020-10-25 19:31:12 +03:00
d826dd9e83 Initial optimization implementation for CM 2020-10-24 20:33:19 +03:00
94df61cd43 cleanup 2020-10-24 13:05:36 +03:00
f7614da230 Refactoring 2020-10-22 11:27:08 +03:00
04d3f4a99f Fix ASM 2020-10-22 09:28:18 +03:00
ae07652d9e Symbol identity is always a string 2020-10-21 11:38:28 +03:00
707ad21f77 New Expression API 2020-10-19 22:51:33 +03:00
e44423192d Tools version update 2020-10-13 20:34:17 +03:00
Iaroslav Postovalov
79aa31c406
Merge remote-tracking branch 'origin/dev' into nd4j
# Conflicts:
#	CHANGELOG.md
2020-10-02 01:33:11 +07:00
Iaroslav Postovalov
0e6448cd3e
Merge pull request #136 from mipt-npm/ejml
Drop koma module, implement kmath-ejml module copying it, but for EJML SimpleMatrix
2020-10-02 01:30:39 +07:00
Iaroslav Postovalov
328193d30c
Merge remote-tracking branch 'origin/dev' into nd4j
# Conflicts:
#	examples/build.gradle.kts
#	kmath-core/src/commonMain/kotlin/kscience/kmath/structures/BufferedNDAlgebra.kt
2020-10-02 01:23:05 +07:00
Iaroslav Postovalov
6ee0039985
Fix build problems 2020-10-01 21:49:57 +07:00
Iaroslav Postovalov
254ee9eced
Merge remote-tracking branch 'origin/dev' into even-more-docs 2020-10-01 20:59:34 +07:00
049ac89667 More informative toString for NDBuffer and Complex 2020-09-30 12:30:06 +03:00
Iaroslav Postovalov
c97f81b277
Merge remote-tracking branch 'origin/dev' into even-more-docs
# Conflicts:
#	build.gradle.kts
#	kmath-core/src/commonMain/kotlin/kscience/kmath/operations/Complex.kt
#	kmath-memory/src/commonMain/kotlin/kscience/kmath/memory/Memory.kt
#	kmath-memory/src/commonMain/kotlin/kscience/kmath/memory/MemorySpec.kt
#	kmath-memory/src/commonMain/kotlin/kscience/memory/Memory.kt
#	kmath-memory/src/commonMain/kotlin/kscience/memory/MemorySpec.kt
#	kmath-memory/src/commonMain/kotlin/scientifik/memory/Memory.kt
#	kmath-memory/src/commonMain/kotlin/scientifik/memory/MemorySpec.kt
#	kmath-memory/src/jsMain/kotlin/kscience/kmath/memory/DataViewMemory.kt
#	kmath-memory/src/jsMain/kotlin/kscience/memory/DataViewMemory.kt
#	kmath-memory/src/jsMain/kotlin/scientifik/memory/DataViewMemory.kt
#	kmath-memory/src/jvmMain/kotlin/kscience/kmath/memory/ByteBufferMemory.kt
#	kmath-memory/src/jvmMain/kotlin/kscience/memory/ByteBufferMemory.kt
#	kmath-memory/src/jvmMain/kotlin/scientifik/memory/ByteBufferMemory.kt
2020-09-28 03:10:24 +07:00
Iaroslav Postovalov
acbfb50eb2
Merge remote-tracking branch 'origin/dev' into nd4j
# Conflicts:
#	CHANGELOG.md
#	examples/build.gradle.kts
#	settings.gradle.kts
2020-09-28 03:01:59 +07:00
Iaroslav Postovalov
6dcb01ecf1
Merge remote-tracking branch 'origin/dev' into ejml
# Conflicts:
#	CHANGELOG.md
#	doc/features.md
#	examples/build.gradle.kts
2020-09-28 03:00:07 +07:00
0a71c7196d Fix caches on native 2020-09-27 11:43:03 +03:00
7d315e37d1 native memory 2020-09-27 11:13:30 +03:00
Iaroslav Postovalov
940fabfac2
Add more KDoc comments, fix grammar issue 2020-09-27 14:50:07 +07:00
6b1eb4cfd7 Fix artifact template 2020-09-26 13:57:24 +03:00
b734136b82 Add images 2020-09-26 12:21:08 +03:00
4043df7f24 Documentation auto-generation update 2020-09-26 12:15:11 +03:00
28137e44e1 Readme auto-generation via plugin 2020-09-25 10:13:38 +03:00
Iaroslav
12b599fff2
Fix some packaging issues, add some KDoc comments, minor refactor 2020-09-23 21:15:54 +07:00
Iaroslav
2ee5d0f325
Change package name, simplify exposed API types, update build snippet, minor refactor 2020-09-21 20:53:31 +07:00
1e50587da4 Update CHANGELOG.md 2020-09-21 15:53:11 +03:00
bf569e10f9 Implementation for #139 2020-09-21 15:47:47 +03:00
Iaroslav
202bc2e904
Merge remote-tracking branch 'origin/dev' into nd4j
# Conflicts:
#	CHANGELOG.md
#	kmath-core/src/commonMain/kotlin/kscience/kmath/structures/BoxingNDField.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/structures/BufferedNDElement.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/structures/NDAlgebra.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/BufferedNDAlgebra.kt
2020-09-21 19:41:55 +07:00
Iaroslav
029f534cc2
Merge remote-tracking branch 'origin/dev' into ejml
# Conflicts:
#	CHANGELOG.md
#	README.md
#	examples/build.gradle.kts
#	examples/src/main/kotlin/scientifik/kmath/linear/LinearAlgebraBenchmark.kt
#	examples/src/main/kotlin/scientifik/kmath/linear/MultiplicationBenchmark.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/MatrixContext.kt
2020-09-21 18:55:47 +07:00
28190f9800 scientifik -> kscience 2020-09-20 22:39:27 +03:00
da742d6c69 Fix things after merge 2020-09-20 22:25:50 +03:00
5032523bbf Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	build.gradle.kts
#	examples/src/main/kotlin/scientifik/kmath/linear/LinearAlgebraBenchmark.kt
#	kmath-ast/build.gradle.kts
#	kmath-ast/src/commonMain/kotlin/scientifik/kmath/ast/MstAlgebra.kt
#	kmath-commons/build.gradle.kts
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/misc/AutoDiff.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Complex.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/Buffers.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/FlaggedBuffer.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/IntBuffer.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealBuffer.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/ShortBuffer.kt
#	kmath-for-real/build.gradle.kts
#	kmath-functions/build.gradle.kts
#	kmath-memory/build.gradle.kts
#	kmath-prob/build.gradle.kts
2020-09-20 21:59:10 +03:00
Alexander Nozik
51b7d4e73e
Merge pull request #140 from mipt-npm/autodiff-update
Upgrade AutoDiff support of trigonometric ops, also fix some problems with MstAlgebra
2020-09-20 18:21:36 +03:00
Iaroslav
6374d7a360
Update tests 2020-09-20 21:05:37 +07:00
Iaroslav
a03c650f65
Add tests and update changelog 2020-09-20 20:59:21 +07:00
Iaroslav
1b426d79b4
Fix sign in (d/dx)*cosh(x)=sinh(x) 2020-09-20 19:31:17 +07:00
Iaroslav
f815e97873
Update AutoDiff.kt to match new trigonometric functions 2020-09-20 19:06:01 +07:00
Iaroslav
4cebca51ef
Add @author annotations, minor KDoc updates 2020-09-20 19:01:27 +07:00
Iaroslav
5a82df57b1
Merge remote-tracking branch 'origin/dev' into nd4j 2020-09-20 16:45:13 +07:00
Iaroslav
a4eb54228d
Merge remote-tracking branch 'origin/dev' into ejml 2020-09-20 16:39:23 +07:00
Iaroslav
5eaeb82a0f
Make one-liners not one-liners, add newlines at EOFs, optimize imports and Kotlin extension configurations 2020-09-20 16:36:48 +07:00
Iaroslav Postovalov
46d6918720
Merge remote-tracking branch 'origin/dev' into nd4j 2020-09-15 17:48:16 +07:00
Iaroslav Postovalov
d55e4a3f84
Merge remote-tracking branch 'origin/dev' into ejml 2020-09-15 17:46:26 +07:00
72340705fe Build refactor 2020-09-12 14:59:12 +03:00
Iaroslav Postovalov
8b171ac3a3
Update changelog 2020-09-12 09:22:26 +07:00
Iaroslav Postovalov
edd3022aac
Add dynamic operations and add documentations 2020-09-10 05:53:44 +07:00
Iaroslav Postovalov
367a59461d
Merge remote-tracking branch 'origin/dev' into nd4j 2020-09-09 22:36:49 +07:00
Iaroslav Postovalov
8ae9a071ef
Add more explicit public modifiers 2020-09-09 21:12:18 +07:00
Iaroslav Postovalov
96a7edc497
Merge remote-tracking branch 'origin/dev' into kotlin14 2020-09-09 11:30:10 +07:00
Iaroslav Postovalov
bea2f2f46d
Merge remote-tracking branch 'origin/master' into dev 2020-09-09 11:29:44 +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
Alexander Nozik
6db921e935
Update README.md 2020-09-06 19:03:24 +03:00
Iaroslav Postovalov
e9c2b3f839
Merge branch 'dev' into nd4j 2020-08-27 17:03:56 +07:00
Iaroslav Postovalov
2bc62356d6
Fix compilation issues 2020-08-27 16:44:58 +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
7157878485
Update changelog, document kmath-nd4j, refactor iterators, correct algebra mistakes, separate INDArrayStructureRing to Space, Ring and Algebra 2020-08-15 18:35:16 +07:00
Iaroslav
1e4692d5cf
Fix scalar multiplication in BigInt, implement testers for fields, rings and spaces and apply them to ComplexFieldTest, BigIntAlgebraTest and RealFieldTest 2020-08-12 21:18:47 +07:00
Iaroslav Postovalov
3f0c208355
Specify ATANH_OPERATION type for API stability 2020-08-11 15:11:29 +07:00
Iaroslav Postovalov
c7e6764ea2
Specify constants' types for API stability 2020-08-11 15:10:48 +07:00
Iaroslav Postovalov
837150b5eb
Fix norm and add test of it 2020-08-11 15:06:53 +07:00
Iaroslav Postovalov
8ab8864227
Add newline 2020-08-11 15:02:56 +07:00
Iaroslav Postovalov
df3bd8a07c
Merge remote-tracking branch 'origin/dev' into hyp-trig-functions
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Algebra.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Complex.kt
#	kmath-core/src/commonTest/kotlin/scientifik/kmath/operations/ComplexFieldTest.kt
2020-08-11 15:01:53 +07:00
Iaroslav Postovalov
b77bfeb372
Provide basic tests for complex numbers, also fix complex division 2020-08-11 14:58:28 +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
Iaroslav
895f788f75
Cleanup doc mistakes, fix number fields corner cases 2020-08-09 23:43:38 +07:00
Iaroslav
6ead822cc3
Fix after-merge issues, provide default implementations for hyperbolic functions, remove their interface 2020-08-09 23:31:49 +07:00
Iaroslav
40d7351515
Merge remote-tracking branch 'origin/dev' into hyp-trig-functions
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Complex.kt
#	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/ComplexNDField.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealBufferField.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealNDField.kt
2020-08-09 23:23:48 +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
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
c2ca7b871d Merge SCI-MR-10 from improved-java-math-big-numbers 2020-07-29 08:39:19 +00: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 Postovalov
186575d8b3
Override number function for JBigIntegerField and JBigDecimalField 2020-07-26 11:28:19 +07:00
Iaroslav
995a0f916b
Replace x pow 2 with multiplication x by x because of precision 2020-07-03 19:20:44 +07:00
Commander Tvis
77625cca2b
Update typealiases usages; add optimization for exponentiation real complex numbers 2020-07-03 17:38:13 +07:00
Commander Tvis
badb7b1365
Update implementation of Complex Division and Exponentiation 2020-07-03 17:14:50 +07:00
Commander Tvis
73005f715a
Implement optimized complete Complex division, add tests class for it 2020-07-03 15:50:14 +07:00
Iaroslav
e64a6796ea
Fix division of Complex, minor reformat and rearrangement of NumberAlgebra, implement hyperbolic functions 2020-07-03 00:46:48 +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
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
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