Commit Graph

673 Commits

Author SHA1 Message Date
Roland Grinis
b5d3ca76db Dropping creation methods from interface 2021-03-30 19:20:20 +01:00
Roland Grinis
ae30d3a03e remerging pr 263 2021-03-30 16:58:05 +01:00
Roland Grinis
03455a3beb infix dot forgotten 2021-03-30 14:36:59 +01:00
Roland Grinis
581c13c573 drop code duplication 2021-03-30 14:14:05 +01:00
Roland Grinis
370bab462c merged pull request 2021-03-30 13:14:09 +01:00
Andrei Kislitsyn
139534fdb3 fix 2021-03-30 15:13:45 +03:00
Roland Grinis
97f148c175 Merge commit 'refs/pull/263/head' of ssh://git.jetbrains.space/mipt-npm/sci/kmath into feature/tensor-algebra 2021-03-30 13:06:23 +01:00
Andrei Kislitsyn
2503d35ba8 complete qr + test qr and lu 2021-03-30 14:53:19 +03:00
Roland Grinis
d281dfca3a Separate linear algebra utils into dedicated module 2021-03-30 11:22:55 +01:00
Andrei Kislitsyn
6e85d496f2 resolve conflict 2021-03-30 00:22:10 +03:00
Roland Grinis
51eca003af Moved back value to main algebra context 2021-03-29 22:11:34 +01:00
Roland Grinis
92710097f0 Fixing 2D and 1D casts 2021-03-29 21:58:56 +01:00
Andrei Kislitsyn
3219712019 resolve merge conflict 2021-03-26 23:49:58 +03:00
Roland Grinis
22b68e5ca4 BufferedTensor2D & BufferedTensor1D 2021-03-26 20:36:21 +00:00
Andrei Kislitsyn
5d830206a2 Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-26 19:03:43 +03:00
Roland Grinis
516cd90677 Moved out to archive unimplemented API 2021-03-26 15:36:53 +00:00
Roland Grinis
e03910354e ok reverting 2021-03-26 15:14:23 +00:00
Andrei Kislitsyn
056699f27b Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-26 18:10:53 +03:00
Roland Grinis
1588b5d94f once mutable stay it and enjoy 2021-03-26 15:09:18 +00:00
Andrei Kislitsyn
3cb9535fc9 Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-26 18:07:20 +03:00
Roland Grinis
a6354623ec returning cols/rows as vectors 2021-03-26 15:06:05 +00:00
Andrei Kislitsyn
d6a1bee93b Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-26 17:43:20 +03:00
Andrei Kislitsyn
1f19ac88ae qr fix 2021-03-26 17:43:08 +03:00
Roland Grinis
9162867fc2 Mutable structures 2D functionality added 2021-03-26 14:37:27 +00:00
Roland Grinis
1056fc7200 Test for scalar product 2021-03-26 13:48:59 +00:00
Roland Grinis
daa0777182 removed unused code 2021-03-24 18:43:03 +00:00
Roland Grinis
94b5afa6c4 eq moved to interface 2021-03-24 18:39:40 +00:00
Roland Grinis
f70f60c0e8 Moved det to LinearOps 2021-03-24 15:58:25 +00:00
Roland Grinis
a4aa4b80d2 Updated API 2021-03-24 15:51:58 +00:00
Andrei Kislitsyn
ab81370001 fixes 2021-03-24 18:42:41 +03:00
Andrei Kislitsyn
96a755071f Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-24 18:08:53 +03:00
Andrei Kislitsyn
206bcfc909 lu inv and det complete + tests 2021-03-24 18:08:36 +03:00
cd05ca6e95 Initial Optimization API 2021-03-24 16:36:06 +03:00
Andrei Kislitsyn
5c0674f1f5 Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-24 14:00:51 +03:00
Andrei Kislitsyn
fea53af0ee fix 2021-03-24 14:00:47 +03:00
AlyaNovikova
c2f11fb6e1 fix bugs in function dot, add tests 2021-03-24 13:43:54 +03:00
e216fd50f5 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	build.gradle.kts
#	kmath-core/src/commonMain/kotlin/space/kscience/kmath/misc/XYPointSet.kt
#	kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/EjmlLinearSpace.kt
2021-03-24 13:33:08 +03:00
Roland Grinis
e01ca38fb3 Tasks for Andrei and Alya 2021-03-23 13:51:52 +00:00
Andrei Kislitsyn
078686a046 hotfix sequence 2021-03-23 15:59:55 +03:00
Iaroslav Postovalov
7579a35f8e
Merge branch 'dev' into commandertvis/doc 2021-03-23 19:48:16 +07:00
AlyaNovikova
2d2c4bd474 add broadcast of all dims except the last 2, add tensors dot, fix bug in function times 2021-03-23 14:53:54 +03:00
Iaroslav Postovalov
1b01654667
Improve Dokka configuration 2021-03-22 20:41:18 +07:00
Iaroslav Postovalov
67aa173927
Some documentation updates 2021-03-22 16:11:54 +07:00
Roland Grinis
0365d41f31 Merged PR 2021-03-21 17:57:19 +00:00
Andrei Kislitsyn
df402086da init test for analytic algebra 2021-03-21 19:08:30 +03:00
Andrei Kislitsyn
8e9a85078e Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-03-21 19:05:14 +03:00
Andrei Kislitsyn
fa78ed1f45 map and analytic funcions 2021-03-21 19:05:11 +03:00
Roland Grinis
d8ef190ed8 UnaryPlus fails API check 2021-03-21 08:07:17 +00:00
Roland Grinis
94e5ee4a6d TensorLinearStructure introduced 2021-03-21 08:01:52 +00:00
Roland Grinis
510c855a65 Merge dev, API check failed 2021-03-21 07:41:48 +00:00
Roland Grinis
b7e1349ead atanh as example 2021-03-20 18:59:54 +00:00
Roland Grinis
8933c820b3 merge PR 2021-03-19 20:32:57 +00:00
Andrei Kislitsyn
a0534b896f resolve conflict 2021-03-19 23:26:54 +03:00
Roland Grinis
93d3cb47be Testing linear structure 2021-03-19 20:10:08 +00:00
Roland Grinis
3535e51248 Broadcasting as its own algebra 2021-03-19 19:52:58 +00:00
Roland Grinis
274be61330 Explicit broadcasting enforced 2021-03-19 19:40:17 +00:00
Andrei Kislitsyn
5e94610e28 imp full and remove copypaste in geners 2021-03-19 17:51:30 +03: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
Iaroslav Postovalov
c4367ac509
Merge branch 'dev' into commandertvis/issue226
# Conflicts:
#	kmath-histograms/src/commonMain/kotlin/space/kscience/kmath/histogram/Counter.kt
2021-03-17 23:57:50 +07:00
Iaroslav Postovalov
6375cb5fd8
Some adjustments to the EJML module 2021-03-17 23:11:26 +07:00
Andrei Kislitsyn
1fa0da2810 complete lu and matrix mapping 2021-03-17 17:53:14 +03:00
Roland Grinis
efb23591a9 Added squeeze 2021-03-17 07:36:35 +00:00
248d42c4e0 Remove MutableBufferND 2021-03-16 22:46:22 +03:00
90981f6a40 Remove contentEquals from Buffer 2021-03-16 21:56:09 +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
Roland Grinis
bd3425e7a5 IndexTensor type added to LinearOps 2021-03-16 14:43:20 +00:00
Roland Grinis
138d376289 Merge commit 'refs/pull/247/head' of ssh://git.jetbrains.space/mipt-npm/sci/kmath into feature/tensor-algebra 2021-03-16 14:01:14 +00:00
Roland Grinis
70bebbe848 1D mutable structure setter fixed 2021-03-16 12:12:28 +00:00
AlyaNovikova
99ee5aa54a add broadcast to functions 2021-03-16 14:57:19 +03:00
Roland Grinis
0553a28ee8 ReduceOpsTensorAlgebra 2021-03-16 07:47:02 +00:00
Roland Grinis
f4454a6cf6 Matrices from tensors test 2021-03-15 22:45:55 +00:00
Roland Grinis
791f55ee8a get dim 0 operator for tensors 2021-03-15 22:39:29 +00:00
Roland Grinis
7cb5cd8f71 BufferedTensor revisited 2021-03-15 22:11:15 +00:00
Roland Grinis
f8e0d4be17 MutableStructure 2D & 1D 2021-03-15 21:18:15 +00:00
Roland Grinis
b227a82a80 OrderedTensorAlgebra 2021-03-15 19:06:33 +00:00
acfdd187a4 Bump readme 2021-03-15 20:17:04 +03:00
Roland Grinis
b6a5fbfc14 Sync with Andrew 2021-03-15 17:08:45 +00:00
Roland Grinis
f66ac653e0 RealTensor to DoubleTensor rename 2021-03-15 16:59:50 +00:00
17647742a8 Bump readme 2021-03-15 19:45:46 +03:00
71ed56c2b6 Move features to scopes 2021-03-15 16:46:12 +03:00
Roland Grinis
a3ca861ebe Rename FFTs 2021-03-15 13:05:45 +00:00
Roland Grinis
50ed7ce28b ComplexTensorAlgebra interface 2021-03-15 12:54:46 +00:00
Andrei Kislitsyn
2d2c5aa684 matrixhelper 2021-03-15 15:18:21 +03:00
d9743978ab Reformat code 2021-03-15 14:26:59 +03:00
0e0deaeb72 Refactor buffer factories 2021-03-15 14:26:17 +03:00
Roland Grinis
4e4690e510 unsafe buffer casts moved to internal utils 2021-03-15 08:48:31 +00:00
Roland Grinis
04f6ef1ed0 Fixed tests with unsafe accessors 2021-03-15 08:31:19 +00:00
Roland Grinis
39a0889123 Dev merge assemble fixed, tests still broken 2021-03-15 07:50:20 +00:00
Roland Grinis
7d416f55d4 Merge branch 'dev' into feature/tensor-algebra 2021-03-15 07:29:02 +00:00
Roland Grinis
c02f71263d Adding the interfaces for AnalyticTensorAlgebra and LinearOpsTensorAlgebra 2021-03-14 21:18:20 +00:00
Alexander Nozik
8af2f5eb31
Merge pull request #241 from mipt-npm/refactor/linear-algebra
Refactor/linear algebra
2021-03-14 21:49:47 +03:00
6c451b5ca7 fix doc typo 2021-03-14 15:09:04 +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
0cc68e72ce cleanup 2021-03-14 09:59:53 +03:00
8179be2f62 cleanup 2021-03-14 09:55:24 +03:00
0aa73cd48f Vector space refactor (optimization) 2021-03-14 09:43:22 +03:00
Roland Grinis
384415dc98 utils module for tensors 2021-03-13 19:16:13 +00:00
be9398b322 Vector space refactor 2021-03-13 21:22:18 +03:00
Andrei Kislitsyn
8f88a101d2 complete lu for matrix 2021-03-13 20:51:15 +03:00
Andrei Kislitsyn
3e0d152c1b resolve mc 2021-03-13 19:32:34 +03:00
Andrei Kislitsyn
0911efd4aa add buffered tensor + lu 2021-03-13 19:30:58 +03:00
5e6f65a181 WIP Matrix refactor 2021-03-13 18:19:10 +03:00
d5ba816b7d WIP Matrix refactor 2021-03-13 18:00:47 +03:00
19d3998c3b WIP vector space refactor 2021-03-13 10:10:00 +03:00
9bc8e8fbf9 WIP vector space refactor 2021-03-12 22:52:18 +03:00
Iaroslav Postovalov
d562541965
Improve conversion functions for Buffer 2021-03-12 23:23:10 +07:00
Roland Grinis
03cc6a310b Merge PR and check transpose 2021-03-12 15:11:33 +00:00
AlyaNovikova
626d5c98fa change IllegalArgumentException to RuntimeException 2021-03-12 15:43:44 +03:00
AlyaNovikova
70e1861e53 remove extra import 2021-03-12 15:25:47 +03:00
AlyaNovikova
454d574ccd add broadcast and functions plus and minus 2021-03-12 15:20:46 +03:00
Iaroslav Postovalov
993bba3133
Fix #226 2021-03-12 19:03:56 +07:00
Andrei Kislitsyn
95b814e163 add fromMatrix 2021-03-12 14:29:51 +03:00
Andrei Kislitsyn
f9500f44ec new tensor def 2021-03-12 13:50:06 +03:00
Roland Grinis
bb4894b87e removing assignement for non operator members 2021-03-11 21:46:35 +00:00
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