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
5b653f10d7
kmath-for-real refactoring
2020-11-29 13:32:20 +03:00
Iaroslav Postovalov
f18cd9ad40
Fix package names
2020-11-29 16:25:08 +07:00
Iaroslav Postovalov
e5d5ac17da
Merge branch 'dev' into gsl-experiment
...
# Conflicts:
# build.gradle.kts
# examples/build.gradle.kts
# examples/src/main/kotlin/kscience/kmath/ast/ExpressionsInterpretersBenchmark.kt
# settings.gradle.kts
2020-11-29 01:17:16 +07:00
Iaroslav Postovalov
3c602e859d
Merge branch 'dev' into mp-samplers
...
# Conflicts:
# examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionBenchmark.kt
# examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionDemo.kt
# kmath-commons/src/main/kotlin/kscience/kmath/commons/expressions/DiffExpression.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/distributions/NormalDistribution.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/internal/InternalErf.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/internal/InternalGamma.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/internal/InternalUtils.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/AhrensDieterExponentialSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/AhrensDieterMarsagliaTsangGammaSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/AliasMethodDiscreteSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/BoxMullerNormalizedGaussianSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/GaussianSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/KempSmallMeanPoissonSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/LargeMeanPoissonSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/MarsagliaNormalizedGaussianSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/NormalizedGaussianSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/PoissonSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/SmallMeanPoissonSampler.kt
# kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/ZigguratNormalizedGaussianSampler.kt
# kmath-stat/src/jvmMain/kotlin/kscience/kmath/stat/distributions.kt
2020-11-02 01:16:29 +07:00
Iaroslav Postovalov
33d23c8d28
Duplicate repositories declared in main build script, fix errors
2020-11-02 01:08:55 +07:00
Iaroslav Postovalov
6b71d8525d
Merge branch 'dev' into kotlingrad
...
# Conflicts:
# examples/build.gradle.kts
# examples/src/main/kotlin/kscience/kmath/ast/ExpressionsInterpretersBenchmark.kt
2020-10-30 19:08:50 +07:00
Iaroslav Postovalov
d14e437659
Update DifferentiableExpression by providing second type argument representing the result of differentiation
2020-10-30 16:57:19 +07:00
Iaroslav Postovalov
ef7066b8c9
Update example
2020-10-30 16:40:58 +07:00
Iaroslav Postovalov
bc4eb95ae7
Add extension functions for DifferentiableMstExpression
2020-10-30 16:40:43 +07:00
Iaroslav Postovalov
29a670483b
Update KG and Maven repos, delete symbol delegate provider, implement working differentiable mst expression based on SFun shape to MST conversion
2020-10-30 01:09:11 +07:00
Iaroslav Postovalov
095b165fa4
Uncomment expressions benchmark, and add factory methods for Nd4jRing and Nd4jField
2020-10-29 23:59:36 +07:00
Iaroslav Postovalov
1e1819ac78
Merge branch 'dev' into gsl-experiment
...
# Conflicts:
# build.gradle.kts
# settings.gradle.kts
2020-10-29 15:47:09 +07:00
Iaroslav Postovalov
7f8abbdd20
Fix typo, introduce KG protocol delegating to algebra
2020-10-29 02:22:34 +07:00
Iaroslav Postovalov
2b7803290f
Merge branch 'dev' into kotlingrad
...
# Conflicts:
# settings.gradle.kts
2020-10-28 18:37:21 +07:00
Iaroslav Postovalov
55909aee0d
Add additional constructor
2020-10-28 18:36:00 +07:00
dfa1bcaf01
prob renamed to stat
2020-10-28 09:16:21 +03:00
Iaroslav Postovalov
612f6f0082
Refactor, remove unused files, remove BasicSampler
2020-10-16 16:49:47 +07:00
e44423192d
Tools version update
2020-10-13 20:34:17 +03:00
Iaroslav Postovalov
381137724d
Rename KG module
2020-10-13 19:47:07 +07:00
Iaroslav Postovalov
4bf430b2c0
Rename converter functions, add symbol delegate provider for MstAlgebra
2020-10-12 23:17:54 +07:00
Iaroslav Postovalov
54069fd37e
Add example of new AST API
2020-10-12 22:42:34 +07:00
Iaroslav Postovalov
abcde808dc
Add first working test, use kotlinx-io fork, major rework of GSL API
2020-10-04 20:17:44 +07:00
Iaroslav Postovalov
9e277a7de3
Minor changes related to benchmarks and EJML matrix, add GSL module, add wrapper for gsl_matrix, provide headers of gsl, configure cinterop at least for Linux and OSX, update GitHub Actions workflow
2020-10-04 12:45:35 +07:00
Iaroslav Postovalov
26d81bddb5
Merge remote-tracking branch 'origin/dev' into mp-samplers
...
# Conflicts:
# examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionBenchmark.kt
2020-10-02 01:35:55 +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
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
b665a3a2fc
Merge remote-tracking branch 'origin/dev' into mp-samplers
2020-09-28 03:02:48 +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
53ea704bae
Finishing migration to 1.4.20-M1
2020-09-27 19:57:30 +03:00
Iaroslav Postovalov
b83293a057
Update example
2020-09-27 15:52:18 +07:00
Iaroslav Postovalov
e35a364aa8
Merge remote-tracking branch 'origin/dev' into mp-samplers
...
# Conflicts:
# examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionBenchmark.kt
# examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionDemo.kt
# kmath-coroutines/src/commonMain/kotlin/kscience/kmath/chains/Chain.kt
# kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/BlockingIntChain.kt
# kmath-coroutines/src/commonMain/kotlin/scientifik/kmath/chains/BlockingRealChain.kt
# kmath-prob/build.gradle.kts
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/Distribution.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/AhrensDieterExponentialSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/AhrensDieterMarsagliaTsangGammaSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/AliasMethodDiscreteSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/BoxMullerNormalizedGaussianSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/GaussianSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/InternalGamma.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/InternalUtils.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/KempSmallMeanPoissonSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/LargeMeanPoissonSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/MarsagliaNormalizedGaussianSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/NormalizedGaussianSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/PoissonSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/SmallMeanPoissonSampler.kt
# kmath-prob/src/commonMain/kotlin/kscience/kmath/prob/samplers/ZigguratNormalizedGaussianSampler.kt
# kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/FactorizedDistribution.kt
# kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/RandomChain.kt
# kmath-prob/src/commonMain/kotlin/scientifik/kmath/prob/RandomGenerator.kt
# kmath-prob/src/jvmMain/kotlin/kscience/kmath/prob/distributions.kt
# kmath-prob/src/jvmMain/kotlin/scientifik/kmath/prob/RandomSourceGenerator.kt
2020-09-27 14:54:20 +07:00
Iaroslav Postovalov
940fabfac2
Add more KDoc comments, fix grammar issue
2020-09-27 14:50:07 +07:00