Commit Graph

434 Commits

Author SHA1 Message Date
Iaroslav Postovalov
d69a04bb6e
Merge branch 'dev' into feature/mp-samplers 2021-02-12 20:58:03 +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
Alexander Nozik
bca36529a5
Merge pull request #183 from mipt-npm/commandertvis/hermitian-conjugate
Add transposeConjugate function for Complex and Double (conjugates are not cached). Minor refactoring of MatrixContext and API reference changes
2021-02-11 11:06:38 +03:00
Iaroslav Postovalov
78dc3ee985
Merge branch 'dev' into commandertvis/hermitian-conjugate 2021-02-09 18:13:03 +07:00
Iaroslav Postovalov
b06f96c335
Move complex related tests from kmath-core to kmath-complex 2021-02-09 18:11:54 +07:00
Iaroslav Postovalov
39f2c6c3f4
Merge branch 'dev' into feature/mp-samplers 2021-02-07 02:58:10 +07:00
Iaroslav Postovalov
a5cdf7c297
Merge branch 'dev' into gsl-experiment 2021-02-07 02:46:24 +07:00
Iaroslav Postovalov
73969da969
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
#	kmath-complex/src/commonMain/kotlin/kscience/kmath/complex/Complex.kt
2021-02-07 02:31:54 +07:00
Iaroslav Postovalov
b1c9bff07f
Merge branch 'dev' into feature/quaternion 2021-02-07 02:22:55 +07:00
Iaroslav Postovalov
49da84b223
Merge branch 'dev' into gsl-experiment 2021-02-06 23:12:38 +07:00
Iaroslav Postovalov
9210bc9198
Merge branch 'dev' into feature/mp-samplers 2021-02-06 23:12:16 +07:00
86263f602a Remove inline from Random-based RandomGenerator.kt to work around https://youtrack.jetbrains.com/issue/KT-44703 2021-02-04 13:24:54 +03:00
2738496447 Histogram API update 2021-02-04 11:00:08 +03:00
cde9d85a96 Fix symbol delegate after build work-around for https://youtrack.jetbrains.com/issue/KT-4012 2021-02-01 12:58:56 +03:00
8f101c5cd0 Fix symbol delegate after build work-around for https://youtrack.jetbrains.com/issue/KT-4012 2021-02-01 12:34:30 +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
Iaroslav Postovalov
5c982df36a
Merge branch 'dev' into commandertvis/hermitian-conjugate
# Conflicts:
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/VirtualMatrix.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/nd/Structure2D.kt
2021-01-29 16:54:42 +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
Iaroslav Postovalov
6503ed4cde
Merge branch 'dev' into commandertvis/cm-decompositions 2021-01-25 17:38:27 +07:00
Iaroslav Postovalov
b20081f161
Fix capitalization of LUP related references (LUP -> Lup) 2021-01-24 22:12:43 +07:00
aff7bbab41 Matrix performance optimization 2021-01-24 17:07:19 +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
35a1b91329
Merge branch 'dev' into commandertvis/hermitian-conjugate
# Conflicts:
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/FeaturedMatrix.kt
#	kmath-core/src/commonMain/kotlin/kscience/kmath/linear/VirtualMatrix.kt
2021-01-24 02:02:20 +07:00
Iaroslav Postovalov
9342824c96
Merge branch 'dev' into feature/quaternion 2021-01-24 02:00:22 +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
0baec14059 [WIP] Refactor NDStructures 2021-01-23 21:50:48 +03:00
Iaroslav Postovalov
904a0f3525
Merge branch 'dev' into gsl-experiment 2021-01-24 01:49:43 +07:00
Iaroslav Postovalov
d9ebadd22a
Implement LUP decomposition in GSL module 2021-01-24 01:46:07 +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
a3cf13b678
Merge branch 'dev' into commandertvis/cm-decompositions
# Conflicts:
#	kmath-commons/src/main/kotlin/kscience/kmath/commons/linear/CMMatrix.kt
2021-01-21 18:43:03 +07:00
d10ae66e58 Deploy fixes for 0.2.0-dev-5 2021-01-20 17:08:29 +03:00
881b85a1d9 Add origin (optin) extension property to expose MatrixWrapper content 2021-01-20 15:32:55 +03:00
d00e7434a4 Fix for #193 2021-01-20 15:07:39 +03:00
Iaroslav Postovalov
8019ac6802
Merge branch 'dev' into gsl-experiment 2021-01-20 16:52:29 +07:00
Iaroslav Postovalov
f3c602115a
Merge branch 'dev' into commandertvis/cm-decompositions
# Conflicts:
#	kmath-ejml/src/main/kotlin/kscience/kmath/ejml/EjmlMatrix.kt
2021-01-20 16:51:12 +07:00
Iaroslav Postovalov
2d1d6c008e
Fix after-merge problems 2021-01-20 15:07:12 +07:00
Iaroslav Postovalov
94a6d5a114
Fix after-merge problems 2021-01-20 14:56:09 +07:00
1c7bd05c58 Add proper equality check for EJML matrices 2021-01-19 22:48:43 +03: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
Iaroslav Postovalov
57b1157650
Reformat, bring back the features of CMMatrix with the new API, add missing features in QRDecomposition in EjmlMatrix 2021-01-20 00:28:39 +07:00
Iaroslav Postovalov
97ec575142
Merge branch 'dev' into commandertvis/cm-decompositions
# Conflicts:
#	kmath-commons/src/main/kotlin/kscience/kmath/commons/linear/CMMatrix.kt
#	kmath-ejml/src/main/kotlin/kscience/kmath/ejml/EjmlMatrix.kt
2021-01-20 00:19:34 +07:00
4c256a9f14 Features refactoring. 2021-01-19 19:32:13 +03:00
ab32cd9561 Numeric operations are decoupled from Ring 2021-01-19 17:16:43 +03:00
Iaroslav Postovalov
5003cca2cd
Merge branch 'dev' into gsl-experiment
# Conflicts:
#	kmath-ejml/src/main/kotlin/kscience/kmath/ejml/EjmlMatrix.kt
2021-01-19 20:19:13 +07:00
4635080317 Optimize RealMatrix dot operation 2021-01-18 21:33:53 +03:00
Iaroslav Postovalov
53db4489f8
Implement decomposition features by CMMatrix 2021-01-19 01:09:44 +07:00
Iaroslav Postovalov
7418228d08
Update KDoc comments 2021-01-19 00:27:28 +07:00
Iaroslav Postovalov
6d118fc841
Minor: fix a typo 2021-01-19 00:15:09 +07:00
Iaroslav Postovalov
f1b319f73d
Minor: micro-optimize getFeature function, reformat 2021-01-19 00:14:12 +07:00
Iaroslav Postovalov
3f00410fc1
Add missing import 2021-01-17 19:12:14 +07:00
Iaroslav Postovalov
6636b228f3
Add missing JvmName annotations 2021-01-17 18:59:20 +07:00
Iaroslav Postovalov
bd178d77ba
Add transposeConjugate function for Complex and Double (conjugate values are not cached). Minor refactoring of MatrixContext and API reference changes 2021-01-17 02:38:48 +07:00
Iaroslav Postovalov
7fdd001a77
Update KDoc comments for Matrix classes, improve MatrixFeature API, implement new features with EJML matrix, delete inversion API from EJML in favor of InverseMatrixFeature, override point by EJML matrix 2021-01-16 15:51:36 +07: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
c3b8f11f22
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	kmath-ast/src/commonMain/kotlin/kscience/kmath/ast/MstAlgebra.kt
2021-01-05 21:23:12 +07:00
Iaroslav Postovalov
2c7cb1b04f
Rename ...Operation functions returning function to ...OperationFunction 2021-01-05 19:56:42 +07:00
Iaroslav Postovalov
d631c048c7
Fix minor problems, update README 2020-12-22 16:00:51 +07:00
Iaroslav Postovalov
2310aca9db
Improve consistency of operations in MstAlgebra 2020-12-22 13:42:12 +07:00
Iaroslav Postovalov
69b1952c15
Add verification of NDField 2020-12-20 21:13:11 +07:00
Iaroslav Postovalov
c8df741a4e
Remove incorrent symbol decl. 2020-12-20 20:58:52 +07:00
Iaroslav Postovalov
9fbca45235
Fix incorrect properties in verifier classes 2020-12-20 20:48:38 +07:00
Iaroslav Postovalov
d70b185b3e
Update documentation for Algebra, add overloads for xOperation that invokes an operation not dispatches it 2020-12-20 20:41:17 +07:00
de3c2a1b5a Add curring and update kotlin 2020-12-20 14:18:12 +03: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
3d879a766b
Add missing KDoc comment 2020-12-07 02:19:50 +07:00
Iaroslav Postovalov
7a571089a8
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
2020-12-06 04:07:11 +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
5b653f10d7 kmath-for-real refactoring 2020-11-29 13:32:20 +03:00
Iaroslav Postovalov
12758d589e
Merge branch 'dev' into mp-samplers 2020-11-29 16:25:25 +07:00
Iaroslav Postovalov
f8272f29b6
Remove failing test 2020-11-29 02:20:04 +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
863b22a451
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
2020-11-29 01:14:08 +07:00
Iaroslav Postovalov
0595950820
Merge branch 'dev' into feature/dynamic-ops-currying 2020-11-29 01:11:32 +07:00
c21e761a76 Workaround for https://youtrack.jetbrains.com/issue/KT-40121 2020-11-28 19:46:51 +03:00
a8329b2ed2 Grid generators moved to kmath-for-real 2020-11-28 18:43:35 +03:00
Iaroslav Postovalov
3e7c9d8dce
Rework unary/binary operation API 2020-11-28 13:37:37 +07:00
Iaroslav Postovalov
aaecc36532
Update invalid test 2020-11-10 19:07:17 +07:00
Iaroslav Postovalov
1539113e72
Make complex and quaternion NaN-hostile 2020-11-10 19:01:26 +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
b1ccca1019
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
#	examples/build.gradle.kts
#	examples/src/main/kotlin/kscience/kmath/ast/ExpressionsInterpretersBenchmark.kt
#	kmath-ast/src/commonMain/kotlin/kscience/kmath/ast/MstAlgebra.kt
2020-11-02 01:15:13 +07:00
Iaroslav Postovalov
33d23c8d28
Duplicate repositories declared in main build script, fix errors 2020-11-02 01:08:55 +07:00
Iaroslav Postovalov
658a1703ed
Add KDoc comment 2020-10-31 21:44:52 +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
Alexander Nozik
f40c1f2919
Merge branch 'dev' into nd4j 2020-10-29 19:58:35 +03:00