Commit Graph

293 Commits

Author SHA1 Message Date
a81ab474f7 Add multik tensor factories and benchmarks 2021-10-18 11:35:09 +03:00
05ae21580b Merge branch 'dev' into feature/multik 2021-10-17 16:44:26 +03:00
9b9fe07044 Specialized operations for ND algebra 2021-10-17 16:42:46 +03:00
6de43ee4ba update multik module 2021-10-17 13:52:40 +03:00
da34d0f71b Merge branch 'dev' into feature/multik 2021-10-17 13:16:39 +03:00
688382eed6 Shapeless ND and Buffer algebras 2021-10-17 12:42:35 +03:00
d0354da80a Shapeless ND and Buffer algebras 2021-10-17 11:12:35 +03:00
0ac5363acf Multik wrapper prototype 2021-10-16 11:10:34 +03:00
abae29bbed DoubleBuffer algebra refactoring 2021-10-02 18:54:45 +03:00
85aefb5380 Completely remove AlgebraElements.kt 2021-10-02 16:14:38 +03:00
01bbb4bb13 API cleanup 2021-10-02 09:55:52 +03:00
974d73e25c Adjust benchmarks. 2021-09-22 22:09:46 +03:00
89eebbecb7 Fix EJML inversion issue 2021-09-21 21:24:27 +03:00
546d56aeee Refactor buffer builders to suit new discoverability pattern 2021-09-19 21:13:07 +03:00
49ec5d1554 Refactor ND builders to suit new discoverability pattern 2021-09-19 20:48:36 +03:00
Alexander Nozik
8581b32448
Apply suggestions from code review
Co-authored-by: Iaroslav Postovalov <38042667+CommanderTvis@users.noreply.github.com>
2021-08-27 18:13:54 +03:00
8d33d6beab Fixed QOW optimization 2021-08-16 16:40:56 +03:00
dfd6e0a949 Merge remote-tracking branch 'origin/dev' into feature/advanced-optimization
# Conflicts:
#	kmath-commons/src/main/kotlin/space/kscience/kmath/commons/optimization/CMOptimization.kt
#	kmath-commons/src/main/kotlin/space/kscience/kmath/commons/optimization/cmFit.kt
#	kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/_generated.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/FunctionOptimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/NoDerivFunctionOptimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/Optimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/XYFit.kt
2021-08-16 09:56:00 +03:00
aaa298616d QOW is working more or less 2021-08-16 09:55:03 +03:00
Iaroslav Postovalov
da27c2e494 Fix path to LICENSE in the notice 2021-08-08 12:27:16 +07:00
a020d1545c merge dev 2021-08-06 12:23:24 +03:00
Alexander Nozik
2aede5b7b9
Merge pull request #390 from mipt-npm/commandertvis/upgrade-deps
Update dependencies
2021-07-29 09:36:24 +03:00
Iaroslav Postovalov
afd5908784 Revise grammar of KDoc comments, refresh documentation files 2021-07-29 07:16:26 +07:00
Iaroslav Postovalov
fe21f0c954 Update plotly.kt and SLF4J 2021-07-28 05:52:23 +07:00
Iaroslav Postovalov
8b3298f7a8 Exact conversions from Long to Int, Int indexing of Dimension 2021-07-20 11:21:47 -07:00
Iaroslav Postovalov
5d2eaaf68a Add contracts to some functions, fix multiple style issues 2021-07-13 00:38:30 +07:00
3ba12f4999 Generic Buffer Algebra 2021-07-09 14:11:26 +03:00
therealansh
590910ac2d add: example and Readme 2021-06-12 10:07:41 +05:30
Iaroslav Postovalov
46bf66c8ee Add justCalculate benchmark, some minor refactorings 2021-06-09 21:50:34 +07:00
95c0b2d3f0 [WIP] optimization with QOW 2021-06-08 14:27:45 +03:00
Alexander Nozik
8da331f476
Merge pull request #351 from mipt-npm/commandertvis/symja
Integration between MST and Symja IExpr
2021-05-26 18:01:25 +03:00
88e94a7fd9 [WIP] Optimization 2021-05-24 17:02:12 +03:00
a24c8dcbce Simpson and spline integration 2021-05-22 20:08:49 +03:00
18509f1259 Simpson integrator 2021-05-21 23:14:07 +03:00
Iaroslav Postovalov
a722cf0cdb Integration between MST and Symja IExpr 2021-05-21 20:00:23 +07:00
Iaroslav Postovalov
d7a4228f5f Add out variance to StructureND and some related types, make some unrelated changes 2021-05-20 19:57:55 +07:00
8a07140f7c Minor piecewise rework 2021-05-19 22:35:06 +03:00
0898285542 Removed Any restriction on polynomials 2021-05-19 12:58:01 +03:00
Iaroslav Postovalov
e7235e2a9c
Merge pull request #341 from mipt-npm/feature/booleans
LogicAlgebra and its Boolean implementation, merge MST.Symbolic and Symbol
2021-05-19 07:36:36 +07:00
d45d44f96d Fix Interpolation 2021-05-17 21:55:32 +03:00
53a6d3543f [WIP] Interpolation fix 2021-05-17 16:53:12 +03:00
15d874fb06 Remove MST.Symbolic
Replace it by Symbol
LogicAlgebra
2021-05-16 19:53:21 +03:00
f86a6130e0 Add opt-in for examples 2021-05-16 14:20:28 +03:00
d1e76175b7 Refactor integrator API. 2021-05-16 14:09:21 +03:00
6f39b38a72 Refactor integrator API. 2021-05-16 13:59:37 +03:00
42d130f69c Build tools update. Cleanup 2021-05-14 15:59:17 +03:00
7ce0829597 0.3.0-dev-8. Cleanup 2021-05-08 14:20:16 +03:00
e4e661a3bf Update jupyter integration 2021-05-08 14:10:57 +03:00
Roland Grinis
21b5d45b96 Throwable value method 2021-05-07 14:13:07 +01:00
Roland Grinis
d73d03c055 valueOrNull added 2021-05-07 13:36:15 +01:00
Roland Grinis
0ef64130ae TensorLinearStructure made internal 2021-05-07 13:00:30 +01:00
Roland Grinis
0920e21d62 Merging implementations together 2021-05-07 12:52:17 +01:00
Andrei Kislitsyn
1b1a078dea neural network! 2021-05-07 03:22:34 +03:00
Andrei Kislitsyn
db5378c9f4 PCA example 2021-05-06 16:29:21 +03:00
Roland Grinis
b7cc4e4b1b merge dev 2021-05-06 07:45:53 +01:00
Andrei Kislitsyn
d0281871fa analytic tests and examples 2021-05-05 14:27:01 +03:00
Andrei Kislitsyn
ac6608b5b4 refactor 2021-05-01 20:45:23 +03:00
Andrei Kislitsyn
bfba653904 refactor 2021-05-01 17:47:12 +03:00
Roland Grinis
1695fc5075 Fix examples 2021-04-30 15:25:45 +01:00
Iaroslav Postovalov
598b2e1587
Rewrite EJML module by dropping ejml-simple abstraction level; multiple build script changes 2021-04-30 19:48:12 +07:00
Andrei Kislitsyn
09f0a2879e refactor lu + docs 2021-04-30 11:08:22 +03:00
Roland Grinis
51f084d28b merge PR 2021-04-28 17:07:10 +01:00
Andrei Kislitsyn
a0e9180db6 example with LUP 2021-04-28 18:18:57 +03:00
Roland Grinis
c2db3a23e1 Feedback for SVD 2021-04-26 16:24:26 +01:00
Andrei Kislitsyn
30ca333c04 OLS/SVD example 2021-04-26 17:27:50 +03:00
Iaroslav Postovalov
0a0d0af94a
Configure copyright scoping 2021-04-21 19:46:02 +07:00
Iaroslav Postovalov
b6a57dbfd0
MST compilation to WebAssembly with Binaryen, reorganize internal JS bindings, tests refactor 2021-04-21 19:17:57 +07:00
07e39a068d Use split interval for integration. 2021-04-18 19:43:03 +03:00
8689d29e4c Fix benchmarks 2021-04-16 22:43:10 +03:00
ef1200aad0 Update integration API 2021-04-16 16:39:27 +03:00
65a8d8f581 Field element integration 2021-04-16 15:50:33 +03:00
Iaroslav Postovalov
e9c31b7827
Merge branch 'master' into dev
# Conflicts:
#	README.md
#	build.gradle.kts
#	examples/src/main/kotlin/space/kscience/kmath/stat/DistributionBenchmark.kt
#	examples/src/main/kotlin/space/kscience/kmath/structures/ParallelRealNDField.kt
#	kmath-ast/README.md
#	kmath-ast/build.gradle.kts
#	kmath-ast/src/commonMain/kotlin/space/kscience/kmath/ast/MstExpression.kt
#	kmath-complex/README.md
#	kmath-complex/build.gradle.kts
#	kmath-complex/src/commonMain/kotlin/space/kscience/kmath/complex/ComplexNDField.kt
#	kmath-core/README.md
#	kmath-core/build.gradle.kts
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/expressions/MST.kt
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/expressions/MstAlgebra.kt
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/RealNDField.kt
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/structures/RealBufferField.kt
#	kmath-coroutines/build.gradle.kts
#	kmath-coroutines/src/commonMain/kotlin/space/kscience/kmath/chains/BlockingRealChain.kt
#	kmath-coroutines/src/jvmMain/kotlin/space/kscience/kmath/structures/LazyNDStructure.kt
#	kmath-dimensions/src/commonTest/kotlin/kscience/dimensions/DMatrixContextTest.kt
#	kmath-for-real/README.md
#	kmath-functions/README.md
#	kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/Interpolator.kt
#	kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/LoessInterpolator.kt
#	kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/XYPointSet.kt
#	kmath-geometry/build.gradle.kts
#	kmath-nd4j/README.md
#	kmath-nd4j/build.gradle.kts
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/distributions/FactorizedDistribution.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/Distribution.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/Fitting.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/OptimizationProblem.kt
#	kmath-stat/src/jvmMain/kotlin/space/kscience/kmath/stat/distributions.kt
#	kmath-viktor/src/main/kotlin/space/kscience/kmath/viktor/ViktorNDStructure.kt
2021-04-16 18:02:44 +07:00
1d1937405d BigIntBenchmarks. Rollback to gradle 6.8.3 because incompatibility with benchmarks 2021-04-16 10:05:51 +03:00
ba3c9b6d45 BigIntBenchmarks. cleanup 2021-04-16 09:47:30 +03:00
Iaroslav Postovalov
41b7349a43
Setup copyright headers, add references to third-party files, update LICENSE 2021-04-16 00:15:00 +07:00
e2ceb64d36 Fix errors and migrations 2021-04-14 23:26:21 +03:00
6cea5742e8 Blocking statistics. Move MST to core 2021-04-14 12:40:26 +03:00
acb4052fe4 Migrate to gradle 7.0 and suspend-inline bug 2021-04-10 15:20:09 +03:00
Iaroslav Postovalov
cf91da1a98
Add pi and e constants, some unrelated changes 2021-04-05 23:44:42 +07:00
a91d468b74 Refactor Algebra and ExpressionAlgebra. Introduce bindSymbolOrNull on the top level 2021-04-01 21:27:30 +03:00
af4866e876 Refactor MST 2021-04-01 20:15:49 +03:00
c2bab5d138 Fix Samplers and distribution API 2021-04-01 18:18:54 +03:00
Iaroslav Postovalov
9ee506b1d2
Some experiments with MST rendering 2021-03-31 16:12:07 +07:00
Iaroslav Postovalov
9574099f9b
Fix post-merge issues 2021-03-31 02:24:21 +07:00
Iaroslav Postovalov
f26cad6d18
Merge branch 'dev' into feature/mp-samplers
# Conflicts:
#	examples/src/main/kotlin/space/kscience/kmath/commons/fit/fitWithAutoDiff.kt
#	examples/src/main/kotlin/space/kscience/kmath/stat/DistributionBenchmark.kt
#	examples/src/main/kotlin/space/kscience/kmath/stat/DistributionDemo.kt
#	kmath-commons/src/test/kotlin/space/kscience/kmath/commons/optimization/OptimizeTest.kt
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/structures/Buffer.kt
#	kmath-coroutines/src/commonMain/kotlin/kscience/kmath/chains/BlockingRealChain.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/SamplerAlgebra.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/Distribution.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/RandomChain.kt
#	kmath-stat/src/jvmMain/kotlin/space/kscience/kmath/stat/distributions.kt
2021-03-31 01:48:26 +07:00
aeceb4a337 Move dataset to core 2021-03-19 14:53:14 +03:00
88d0c19a74 Refactor structure features. Basic curve fitting 2021-03-19 11:07:27 +03:00
a3ca06a241 Remove StructureND identity #248 2021-03-16 21:43:29 +03:00
206e4cbcf6 Real -> Double 2021-03-16 21:17:26 +03:00
05f742452d Structure naming change 2021-03-16 20:56:20 +03:00
e01f90b5e0 add gradient example 2021-03-14 14:40:13 +03:00
5a568c4587 add gradient example 2021-03-14 14:23:53 +03:00
0aa73cd48f Vector space refactor (optimization) 2021-03-14 09:43:22 +03:00
5e6f65a181 WIP Matrix refactor 2021-03-13 18:19:10 +03:00
9bc8e8fbf9 WIP vector space refactor 2021-03-12 22:52:18 +03:00
Alexander Nozik
f449bdd58f
Merge pull request #219 from mipt-npm/refactor/algebra-scale
Fully refactor algebra split ScaleOperations from Space.
2021-03-11 11:28:54 +03:00
fe95c4e48e Code review. 2021-03-10 18:20:23 +03:00
6a5ca2a115 Code review. 2021-03-10 18:02:04 +03:00
Iaroslav Postovalov
940718098d
Revise benchmarks code
Revise benchmarks code by using kotlinx.benchmark type aliases
(it will simplify creating multiplatform benchmarks), using
Blackhole class to consume results, moving all the constant state
to private companion objects
2021-03-10 21:35:28 +07:00
8ae8ebe871 Fully refactor algebra split ScaleOperations from Space. 2021-03-08 21:03:48 +03:00