Commit Graph

232 Commits

Author SHA1 Message Date
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
dd5ef4810f Gradle plugin 0.8.0 2021-02-21 16:13:40 +03:00
1ad305ba34 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	kmath-core/api/kmath-core.api
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/linear/MatrixContext.kt
2021-02-19 13:50:49 +03:00
6581f3dd8a Cleanup 2021-02-19 13:38:32 +03:00
Iaroslav Postovalov
84adce13c9
Merge pull request #148 from mipt-npm/gsl-experiment
Changes for upcoming GSL extension project
2021-02-19 17:34:27 +07:00
8485d28872 Change package name to space.kscience 2021-02-18 11:17:28 +03:00
f201210fa0 Merge remote-tracking branch 'origin/dev' into dev 2021-02-15 09:35:14 +03:00
987997cc02 Histograms refactor 2021-02-12 22:43:35 +03:00
Iaroslav Postovalov
d69a04bb6e
Merge branch 'dev' into feature/mp-samplers 2021-02-12 20:58:03 +07:00
ee29b218f0 Merge remote-tracking branch 'space/dev' into refactor/histograms 2021-02-12 10:44:10 +03:00
Iaroslav Postovalov
b6be3a0333
Merge branch 'dev' into gsl-experiment 2021-02-11 23:13:57 +07:00
Iaroslav Postovalov
228b55f5ea
Merge branch 'dev' into gsl-experiment
# Conflicts:
#	CHANGELOG.md
#	gradle.properties
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/MatrixContext.kt
#	kmath-stat/build.gradle.kts
2021-02-11 17:28:22 +07:00
Iaroslav Postovalov
6aeccef889
Fix benchmarks again 2021-02-11 15:20:29 +07:00
a384b323c3 Update examples to use with instead of invoke on algebras 2021-02-11 11:17:44 +03:00
Alexander Nozik
cd4bfdf59e
Merge pull request #156 from mipt-npm/feature/quaternion
Add fast quaternion implementation, minor changes to complex
2021-02-11 11:01:29 +03:00
Iaroslav Postovalov
a891734ef0
Add newline 2021-02-11 14:53:20 +07:00
Iaroslav Postovalov
b02091402f
Remove explicity qualification 2021-02-11 14:52:26 +07:00
Iaroslav Postovalov
e6876c3f97
Fix benchmarks source set 2021-02-11 14:49:15 +07:00
Iaroslav Postovalov
cd96845c31
Discard a change 2021-02-09 18:12:35 +07:00
Iaroslav Postovalov
9210bc9198
Merge branch 'dev' into feature/mp-samplers 2021-02-06 23:12:16 +07:00
Iaroslav Postovalov
55f8c3938b
Merge branch 'dev' into gsl-experiment
# Conflicts:
#	.github/workflows/build.yml
2021-01-31 14:57:31 +07:00
Iaroslav Postovalov
46650a414e
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
#	README.md
#	kmath-core/README.md
2021-01-31 14:46:11 +07:00
85927c9f6b Documentation update. 2021-01-30 20:12:14 +03:00
Iaroslav Postovalov
955e95690d
Merge branch 'dev' into gsl-experiment 2021-01-30 17:20:36 +07:00
Iaroslav Postovalov
4f78286756
Fix after-merge problems 2021-01-30 17:19:46 +07:00
Iaroslav Postovalov
70c0b614a3
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
#	examples/src/main/kotlin/kscience/kmath/operations/ComplexDemo.kt
#	examples/src/main/kotlin/kscience/kmath/structures/ComplexND.kt
#	kmath-complex/src/commonMain/kotlin/kscience/kmath/complex/ComplexNDField.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/structures/NDAlgebra.kt
#	kmath-core/src/commonTest/kotlin/kscience/kmath/structures/NDFieldTest.kt
2021-01-29 17:00:57 +07:00
45866b500f Merge remote-tracking branch 'origin/dev' into refactor/ndalgebra
# Conflicts:
#	CHANGELOG.md
#	examples/src/benchmarks/kotlin/kscience/kmath/benchmarks/LinearAlgebraBenchmark.kt
#	kmath-commons/src/main/kotlin/kscience/kmath/commons/linear/CMMatrix.kt
#	kmath-for-real/src/commonMain/kotlin/kscience/kmath/real/RealMatrix.kt
2021-01-28 20:07:43 +03:00
228c0b3886 misc 2021-01-28 20:04:33 +03:00
Iaroslav Postovalov
b20081f161
Fix capitalization of LUP related references (LUP -> Lup) 2021-01-24 22:12:43 +07:00
8a2f1586e2 suppress unused 2021-01-24 17:11:14 +03:00
aff7bbab41 Matrix performance optimization 2021-01-24 17:07:19 +03:00
3bbb39f30d cleanup parallel field example 2021-01-24 10:26:56 +03:00
9829a16a32 Optimize Real NDField 2021-01-24 10:15:16 +03:00
1cb41f4dc2 Optimize Real NDField 2021-01-23 22:16:27 +03:00
Iaroslav Postovalov
9342824c96
Merge branch 'dev' into feature/quaternion 2021-01-24 02:00:22 +07:00
Iaroslav Postovalov
9c77f8f02f
Remove incorrect lines 2021-01-24 01:59:42 +07:00
Iaroslav Postovalov
624460c52d
Merge branch 'dev' into feature/mp-samplers
# Conflicts:
#	examples/src/main/kotlin/kscience/kmath/stat/DistributionBenchmark.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/structures/Structure2D.kt
2021-01-24 01:55:32 +07:00
332c04b573 [WIP] Refactor NDStructures 2021-01-23 19:19:13 +03:00
061398b009 [WIP] Refactor NDStructures 2021-01-22 23:22:24 +03:00
Iaroslav Postovalov
8019ac6802
Merge branch 'dev' into gsl-experiment 2021-01-20 16:52:29 +07:00
Iaroslav Postovalov
2d1d6c008e
Fix after-merge problems 2021-01-20 15:07:12 +07:00
d0c9d97706 Minor optimization for RealNDAlgebra 2021-01-19 22:29:19 +03:00
Iaroslav Postovalov
9748e0bfbe
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
#	examples/src/main/kotlin/kscience/kmath/stat/DistributionBenchmark.kt
#	kmath-complex/src/commonMain/kotlin/kscience/kmath/complex/ComplexNDField.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/operations/Complex.kt
#	kmath-core/src/commonTest/kotlin/kscience/kmath/structures/NDFieldTest.kt
2021-01-20 01:10:31 +07:00
Iaroslav Postovalov
f711fe3d35
Merge branch 'dev' into gsl-experiment
# Conflicts:
#	CHANGELOG.md
2021-01-20 00:34:19 +07:00
ab32cd9561 Numeric operations are decoupled from Ring 2021-01-19 17:16:43 +03:00
4635080317 Optimize RealMatrix dot operation 2021-01-18 21:33:53 +03:00
Iaroslav Postovalov
f5b6847bf6
Merge branch 'dev' into gsl-experiment 2021-01-07 22:46:53 +07:00
44ea32e843 Merge remote-tracking branch 'origin/dev' into dev 2021-01-07 18:07:26 +03:00
b288704528 Optimize RealMatrix dot operation 2021-01-07 18:07:00 +03:00
Iaroslav Postovalov
5d855bd915
Merge branch 'dev' into gsl-experiment 2021-01-06 21:09:07 +07:00
Iaroslav Postovalov
acf9dd2b6a
Extract complex and quaternion systems to another module 2021-01-06 21:01:37 +07:00
Iaroslav Postovalov
2f11660439
Replace Distribution.normal with NormalDistribution 2020-12-12 21:03:28 +07:00
Iaroslav Postovalov
e43aad33fe
Add missing import 2020-12-12 17:13:14 +07:00
Iaroslav Postovalov
5c54640e60
Merge branch 'dev' into mp-samplers
# Conflicts:
#	examples/src/main/kotlin/kscience/kmath/stat/DistributionDemo.kt
#	kmath-stat/src/jvmMain/kotlin/kscience/kmath/stat/distributions.kt
2020-12-12 17:11:09 +07:00
Iaroslav Postovalov
f001389f4c
Merge branch 'dev' into feature/dynamic-ops-currying
# Conflicts:
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/MatrixContext.kt
2020-12-08 15:12:52 +07:00
Iaroslav Postovalov
e62cf4fc65
Rewrite ASM codegen to use curried operators, fix bugs, update benchmarks 2020-12-08 14:42:42 +07:00
Iaroslav Postovalov
0e8f6e29ee
Merge branch 'dev' into gsl-experiment
# Conflicts:
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/MatrixContext.kt
#	kmath-ejml/src/main/kotlin/kscience/kmath/ejml/EjmlMatrixContext.kt
2020-12-02 09:21:25 +07:00
712df04170 Implemented #131 2020-12-01 21:21:56 +03:00
89c0d863d2 Benchmark refactoring 2020-11-29 22:26:05 +03:00
625e624cab kmath-for-real refactoring 2020-11-29 21:38:12 +03:00
Iaroslav Postovalov
0db33cca55
Merge branch 'dev' into gsl-experiment 2020-11-30 00:56:35 +07:00
Iaroslav Postovalov
5a3fccb455
Add reference to Commons Math implementation of InternalErf, fix markdown issues, rename prob package in examples to stat 2020-11-29 22:02:06 +07:00