Commit Graph

563 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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