Commit Graph

2248 Commits

Author SHA1 Message Date
Iaroslav Postovalov
cf5f886226 Rewrite the ArithmeticsEvaluator.number rule to handle well both floating-point numbers and integers 2021-11-29 13:50:06 +07:00
Iaroslav Postovalov
5ba7d74bd2 Completely specialized expression types for Int, Long, Double and compilation of MST to it 2021-11-28 20:56:01 +07:00
Alexander Nozik
c6a4721d64
Merge pull request #443 from mipt-npm/commandertvis/update
Update gradle-tools, make Kotlin 1.6.0 migrations
2021-11-24 11:58:34 +03:00
Iaroslav Postovalov
d2e3110480 Update gradle-tools, do Kotlin 1.6.0 migrations 2021-11-24 15:32:06 +07:00
24799a691f Add inc/dec to counters 2021-11-23 10:32:51 +03:00
Alexander Nozik
4691caaa7f
Merge pull request #435 from alexismanin/feat/permsort
Feat/permsort
2021-11-21 20:21:18 +03:00
Alexis Manin
06a6a99ef0 feat(Core): add new flavors of permSort: allow user to specify a comparator (sort with) or a custom field to use in buffer values (sort by). 2021-11-18 17:44:53 +01:00
Alexis Manin
0f7a25762e feat(Core): add a permutation sorting prototype for buffers
This is a Buffer extension function to create a list of permuted indices that represent the sequence of naturally sorted buffer elements
2021-11-17 13:19:40 +01:00
Iaroslav Postovalov
e38b2e1c53 Only dump ASM classes during tests if according property is passed to Gradle 2021-11-17 19:03:20 +07:00
Alexander Nozik
a6922ab9d8
Merge pull request #440 from mipt-npm/commandertvis/license
Revert license removal and update copyright
2021-11-16 17:38:29 +03:00
Iaroslav Postovalov
7ceb0b69b8 Revert license removal and update copyright 2021-11-16 18:14:34 +07:00
Alexander Nozik
e25827eb14
Merge pull request #437 from mipt-npm/commandertvis/double-specialized
Provide specializations of `AsmBuilder` for `Double`, `Long`, `Int`
2021-11-16 11:41:53 +03:00
Alexander Nozik
b1911ebe2d
Merge pull request #438 from mipt-npm/commandertvis/411
Relax type requirements in algebraExtensions.kt from `Ring` to `Group`
2021-11-16 10:52:41 +03:00
Iaroslav Postovalov
70ac232c15 Relax type requirements in algebraExtensions.kt from Ring to Group 2021-11-16 14:27:20 +07:00
Iaroslav Postovalov
7b50400de5 Provide specializations of AsmBuilder for Double, Long, Int 2021-11-16 14:03:12 +07:00
Iaroslav Postovalov
f231d722c6 Multiple performance improvements related to ASM
1. Argument values are cached in locals
2. Optimized Expression.invoke function
3. lambda=indy is used in kmath-core
2021-11-15 23:29:15 +07:00
4e16cf1c98 Merge remote-tracking branch 'origin/feature/tensorflow' into feature/tensorflow 2021-11-10 20:04:45 +03:00
6c2abdaab0 First tensorflow test. 2021-11-10 20:04:29 +03:00
c583320051 Merge branch 'dev' into feature/tensorflow
# Conflicts:
#	kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/DoubleTensorAlgebra.kt
2021-11-10 11:52:11 +03:00
9a1f8a2266 remove unnecessary toInt 2021-11-10 11:51:20 +03:00
fa9ff4c978 Minor refactoring 2021-11-09 17:56:53 +03:00
d62bc66d4a Refactoring 2021-11-09 13:42:22 +03:00
f6b576071d Add non-boxing BufferView access 2021-11-09 12:25:17 +03:00
1315a8cd34 views cleanup 2021-11-08 19:57:22 +03:00
a1351aa942 Buffer views 2021-11-08 17:50:49 +03:00
bf504ae6c5 Basic series 2021-11-05 16:58:13 +03:00
0e1e97a3ff Multik integration finished (for now) 2021-11-04 10:58:27 +03:00
726864ed0e Refactoring of power 2021-11-03 12:55:29 +03:00
Alexander Nozik
bd0895b268
Merge pull request #426 from grinisrit/dev
fix argmax
2021-11-01 21:48:36 +03:00
Roland Grinis
62e7073ed2 example fixed 2021-11-01 18:03:46 +00:00
Roland Grinis
a994b8a50c fix argmax 2021-11-01 17:55:10 +00:00
b65197f577 revert parts of tensor api to tensors 2021-11-01 19:45:02 +03:00
Alexander Nozik
eb1bc5acc4
Merge pull request #424 from grinisrit/feature/tensorflow
dot fixed for tensorflow
2021-10-29 15:20:20 +03:00
Roland Grinis
db06d10cc2 dot fixed for tensorflow 2021-10-28 19:25:10 +01:00
46e7da9ae0 Tensor algebra generified 2021-10-28 11:18:16 +03:00
0f5f59e175 Merge branch 'dev' into feature/tensorflow 2021-10-28 10:58:53 +03:00
4db7398a28 Tensor algebra generified 2021-10-28 10:58:22 +03:00
64629561af [WIP] TensorFlow refactoring 2021-10-28 10:52:40 +03:00
7bdc54c818 Merge branch 'dev' into feature/tensorflow
# Conflicts:
#	kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/DoubleTensorAlgebra.kt
2021-10-28 09:55:43 +03:00
Alexander Nozik
f8d21ad072
Merge pull request #422 from mipt-npm/refactor/tensor-univeral
Refactor/tensor univeral
2021-10-28 09:51:26 +03:00
29a90efca5 Tensor algebra generified 2021-10-27 14:48:36 +03:00
4635cd3fb3 Refactor TensorAlgebra to take StructureND and inherit AlgebraND 2021-10-26 16:08:02 +03:00
7e59ec5804 Refactor TensorAlgebra to take StructureND and inherit AlgebraND 2021-10-26 09:16:24 +03:00
cc114041c4 Initial implementation of TensorFlow connector 2021-10-24 18:33:39 +03:00
47aeb36979 fix NDArray cast 2021-10-20 17:04:00 +03:00
cfd3f3b7e1 fix NDArray cast 2021-10-20 16:35:52 +03:00
69e6849a12 Name refactoring for tensors 2021-10-20 16:11:36 +03:00
6c4741ede6 [WIP] TensorFlow 2021-10-20 16:06:45 +03:00
40c02f4bd7 Add multik dot for tensors 2021-10-19 10:50:13 +03:00
Alexander Nozik
42259e3eb9
Merge pull request #420 from mipt-npm/dev
0.3.0-dev-17
2021-10-18 13:41:56 +03:00