Commit Graph

655 Commits

Author SHA1 Message Date
AlyaNovikova
723e0e458e add functions transpose and transposeAssign 2021-03-11 23:04:42 +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
803f298d8b Make vector spaces great again 2021-03-11 11:28:10 +03:00
522f39cef3 replace Space by Group 2021-03-10 22:09:19 +03:00
Iaroslav Postovalov
39b41cc2ae
Fix #223 2021-03-10 22:40:43 +07:00
fe95c4e48e Code review. 2021-03-10 18:20:23 +03:00
6a5ca2a115 Code review. 2021-03-10 18:02:04 +03:00
Roland Grinis
3a37b88b5c Fixed getting value test for tensors 2021-03-09 21:13:48 +00:00
Your Name
fe55856a26 basic implements & refactor tensor structure & and new tensor algebra methods 2021-03-09 22:18:46 +03:00
8ae8ebe871 Fully refactor algebra split ScaleOperations from Space. 2021-03-08 21:03:48 +03:00
Roland Grinis
90f4ff06fd Basic tasks for Alya and Andrei 2021-03-04 13:22:28 +00:00
Roland Grinis
ed007589cf LU decomposition set up 2021-03-02 14:54:07 +00:00
Roland Grinis
4aa1df0628 Safe item method and view_as added 2021-03-02 09:32:36 +00:00
Roland Grinis
f15ac20323 Cannot afford to inherit from RingWithNumbers 2021-03-01 22:52:58 +00:00
Roland Grinis
7c38b16f17 Initial draft for RealTensor and RealTensorALgebra 2021-03-01 21:43:04 +00:00
Roland Grinis
477f7dd079 Deprecating div methods 2021-03-01 13:01:15 +00:00
Roland Grinis
2ea6d0bfdd Merging dev 2021-03-01 12:47:20 +00: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
Iaroslav Postovalov
ef97386033
Fix typo 2021-02-19 17:34:02 +07:00
209e17cd42 Merge histograms 2021-02-19 10:52:56 +03:00
c6ea423bd6 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	CHANGELOG.md
#	kmath-core/api/kmath-core.api
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/domains/HyperSquareDomain.kt
#	kmath-histograms/src/commonMain/kotlin/space/kscience/kmath/histogram/RealHistogram.kt
#	kmath-histograms/src/commonTest/kotlin/scietifik/kmath/histogram/MultivariateHistogramTest.kt
#	kmath-histograms/src/jsMain/kotlin/space/kscience/kmath/histogram/Counters.kt
#	kmath-histograms/src/jvmMain/kotlin/space/kscience/kmath/histogram/Counters.kt
#	kmath-histograms/src/jvmMain/kotlin/space/kscience/kmath/histogram/UnivariateHistogram.kt
#	kmath-histograms/src/jvmMain/kotlin/space/kscience/kmath/histogram/UnivariateHistogramSpace.kt
2021-02-19 09:46:25 +03:00
Alexander Nozik
ee4c348294
Merge pull request #203 from mipt-npm/refactor/histograms
Refactor/histograms
2021-02-18 18:05:03 +03:00
8485d28872 Change package name to space.kscience 2021-02-18 11:17:28 +03:00
Iaroslav Postovalov
090f93ab7b
Merge branch 'dev' into gsl-experiment 2021-02-17 21:24:40 +07:00
Iaroslav Postovalov
acfff40d96
Fix my mistakes in descriptions of core algebraic structures 2021-02-13 21:05:01 +07: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
Iaroslav Postovalov
41be1cd34d
Merge branch 'dev' into gsl-experiment 2021-02-12 20:54:21 +07:00
Iaroslav Postovalov
0e42cc9f5c
Update README 2021-02-11 23:35:45 +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
d7c28bfd0c
Fix problems related to merge 2021-02-07 02:45:35 +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
065d7a150a Fix kotlin version bug for GSL codegen 2021-02-01 13:20:33 +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
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
Iaroslav Postovalov
cd439ce2ed
Minor: regenerate README files 2021-01-31 14:40:03 +07:00
28240954b0 Documentation update. API generated 2021-01-30 20:23:15 +03: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
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
9011579d2c [WIP] Tensor algebra design 2021-01-20 11:43:01 +03: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
9ef32db236 Merge branch 'dev' into altavir/tensor-algebra 2021-01-19 23:08:36 +03: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
a11711c336 Tensor algebra refactoring 2021-01-19 22:25:04 +03:00
360e0e17e9 Minor optimization for RealNDAlgebra 2021-01-19 22:24:42 +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
53c32abf4f Merge branch 'dev' into feature/tensor-algebra 2021-01-19 20:02:08 +03: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
Roland Grinis
ecf813803b Correcting terminology and failed connection to Algebra<T> 2021-01-18 18:34:23 +00: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
Roland Grinis
835d64d797 Initial draft for TensorAlgebra 2021-01-16 19:29:47 +00: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
ae126d36c8
Update readmes for Complex, minor update of build-script 2021-01-06 21:06:57 +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
28ddc7cd95
Minor: regenerate readme files 2021-01-05 20:16:42 +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
5368bb5d4a Readme update 2020-11-30 11:25:21 +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
fbe1ab94a4 Change DifferentiableExpression API to use ordered symbol list instead of orders map. 2020-10-29 19:35:08 +03:00
Iaroslav Postovalov
cdd196097e
Specify operator modifier explicitly 2020-10-29 15:56:41 +07:00
Iaroslav Postovalov
6d016c87f2
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
2020-10-29 15:49:49 +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
57910f617a
Rename API classes, update readme files 2020-10-29 15:39:53 +07:00
Iaroslav Postovalov
d7cf04a98b
Merge branch 'dev' into nd4j
# Conflicts:
#	CHANGELOG.md
#	settings.gradle.kts
2020-10-29 13:38:52 +07:00
e5751c4cdc Fix did not work, rolled back. 2020-10-28 10:07:50 +03:00
73b4294122 Try to fix Native compilation bug 2020-10-28 09:56:33 +03:00
5fa4d40f41 Remove Differentiable 2020-10-28 09:25:37 +03:00
dfa1bcaf01 prob renamed to stat 2020-10-28 09:16:21 +03:00
9a147d033e Another refactor of SimpleAutoDiff 2020-10-27 17:57:17 +03:00
Iaroslav Postovalov
202ea3582c
Add field test, minor refactor 2020-10-27 20:31:28 +07:00
Iaroslav Postovalov
828e40c452
Add toQuaternion extension for Complex 2020-10-27 19:19:53 +07:00
Iaroslav Postovalov
59a50810cc
Remove KDoc comments 2020-10-27 18:17:42 +07:00
Iaroslav Postovalov
3714cfc28e
Replace Double specialized ops with Number ones 2020-10-27 18:15:43 +07:00
Iaroslav Postovalov
76717c49b1
Implement fast quaternion implementation, minor changes to complex 2020-10-27 18:06:27 +07:00
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
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
d46350e7b7
Rework codegen, use GSL vectors to store vectors, implement MatrixContext for Float, Double and Complex matrices with BLAS 2020-10-11 01:15:37 +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
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