Commit Graph

239 Commits

Author SHA1 Message Date
Iaroslav Postovalov
e65e1eedaa
Apply context receivers to operator extension functions in main algebras 2022-04-12 15:08:27 +07:00
Iaroslav Postovalov
92cffd78d9
Upgrade gradle tools 2022-04-01 02:23:34 +07:00
Iaroslav Postovalov
745a7ad66e Add complete constant folding in kmath-ast by introducing TypedMst, some minor changes 2022-02-11 20:46:30 +07:00
Iaroslav Postovalov
e094f6e8ee Remove Algebra.evaluate(MST) by inlining in into interpret 2022-02-08 11:43:50 +07:00
Iaroslav Postovalov
d10815020d JS benchmarking 2022-01-26 16:46:38 +07:00
Alexander Nozik
4b4c878e21
Merge pull request #447 from mipt-npm/commandertvis/fixbuild
Do numeric type conversion in JS MST compilers
2021-12-30 16:54:27 +03:00
2f96d619fc
Fix AST JS test 2021-12-29 20:08:26 +03:00
Iaroslav Postovalov
a9779fe38b Do numeric type conversion in JS MST compilers 2021-12-07 12:00:31 +07:00
Alexander Nozik
f6fa288011
Merge pull request #445 from mipt-npm/commandertvis/gram
Rewrite the `ArithmeticsEvaluator.number` rule to handle well both floating-point numbers and integers
2021-12-02 09:40:55 +03:00
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
Iaroslav Postovalov
d2e3110480 Update gradle-tools, do Kotlin 1.6.0 migrations 2021-11-24 15:32:06 +07: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
Iaroslav Postovalov
7ceb0b69b8 Revert license removal and update copyright 2021-11-16 18:14:34 +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
d0354da80a Shapeless ND and Buffer algebras 2021-10-17 11:12:35 +03:00
Alexander Nozik
6dc9e8847a
Merge pull request #404 from mipt-npm/feature/advanced-optimization
Feature/advanced optimization
2021-08-29 11:44:09 +03:00
Iaroslav Postovalov
7e0820d861 Add debug property for dumping classes generated with ASM 2021-08-21 19:58:06 +07:00
Iaroslav Postovalov
b74bc32015 Ignore TestExecutionTime suite to reduce build time 2021-08-17 21:38:00 +07:00
dfd6e0a949 Merge remote-tracking branch 'origin/dev' into feature/advanced-optimization
# Conflicts:
#	kmath-commons/src/main/kotlin/space/kscience/kmath/commons/optimization/CMOptimization.kt
#	kmath-commons/src/main/kotlin/space/kscience/kmath/commons/optimization/cmFit.kt
#	kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/_generated.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/FunctionOptimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/NoDerivFunctionOptimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/Optimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/XYFit.kt
2021-08-16 09:56:00 +03:00
Iaroslav Postovalov
da27c2e494 Fix path to LICENSE in the notice 2021-08-08 12:27:16 +07:00
a020d1545c merge dev 2021-08-06 12:23:24 +03:00
Iaroslav Postovalov
afd5908784 Revise grammar of KDoc comments, refresh documentation files 2021-07-29 07:16:26 +07:00
Iaroslav Postovalov
b1998ed1a9 Replace public override with override 2021-07-19 03:12:41 +07:00
Iaroslav Postovalov
5d2eaaf68a Add contracts to some functions, fix multiple style issues 2021-07-13 00:38:30 +07:00
Iaroslav Postovalov
83fc4e28d8 Generate README, bump versions of Kotlin, Gradle, ND4J, ASM 2021-07-03 17:23:45 +07:00
Iaroslav Postovalov
5d5f84ad55 Some refactoring of AST rendering 2021-06-15 20:37:40 +07:00
Iaroslav Postovalov
45f1588175 Generated benchmarking reports 2021-06-15 17:14:18 +07:00
Iaroslav Postovalov
4d6428a308 Update Jafama module documentation with some minor code amendments 2021-06-14 21:51:06 +07:00
Iaroslav Postovalov
46bf66c8ee Add justCalculate benchmark, some minor refactorings 2021-06-09 21:50:34 +07:00
95c0b2d3f0 [WIP] optimization with QOW 2021-06-08 14:27:45 +03:00
Iaroslav Postovalov
189449f40e Fix unresolved reference in generated type parameter 2021-05-21 20:08:17 +07:00
Iaroslav Postovalov
d7a4228f5f Add out variance to StructureND and some related types, make some unrelated changes 2021-05-20 19:57:55 +07:00
15d874fb06 Remove MST.Symbolic
Replace it by Symbol
LogicAlgebra
2021-05-16 19:53:21 +03:00
6d78bb8d91 0.3.0-dev-8. Readme update 2021-05-08 14:36:37 +03:00
Iaroslav Postovalov
591b408729
MST rendering: support infix division, use arcsin instead sin^-1 form for inverse trigonometric functions 2021-05-04 17:22:09 +07:00
Alexander Nozik
eca1ad48f5
Merge pull request #273 from mipt-npm/feature/jupyter
Add Jupyter integration
2021-05-02 21:28:17 +03:00
Iaroslav Postovalov
f0627b2ced
Simplify and revise test cases for MST compilation engines #285 2021-05-03 00:27:16 +07:00
Iaroslav Postovalov
77d72c7bf6
Add Jupyter integration 2021-04-30 20:50:00 +07:00
Iaroslav Postovalov
598b2e1587
Rewrite EJML module by dropping ejml-simple abstraction level; multiple build script changes 2021-04-30 19:48:12 +07:00
Iaroslav Postovalov
e3f7b7a5fa
Promote kmath-ast as experimental, mark AST Rendering and WASM with @UnstableKMathAPI 2021-04-28 10:27:08 +07:00
Iaroslav Postovalov
077c2b4e3b
Update README.md in kmath-ast 2021-04-24 12:14:31 +07:00
Iaroslav Postovalov
488f5f0008
Redesign exponential function rendering 2021-04-21 22:13:03 +07:00
Iaroslav Postovalov
23d2f8d758
Merge pull request #289 from mipt-npm/commandertvis/rendering-tests
Move AST rendering tests to common
2021-04-21 19:57:36 +07:00
Iaroslav Postovalov
cfa9077e29
Move AST rendering tests to common 2021-04-21 19:50:33 +07:00
Iaroslav Postovalov
0a0d0af94a
Configure copyright scoping 2021-04-21 19:46:02 +07:00
Iaroslav Postovalov
b6a57dbfd0
MST compilation to WebAssembly with Binaryen, reorganize internal JS bindings, tests refactor 2021-04-21 19:17:57 +07:00
Iaroslav Postovalov
84fa878ee3
Update dependencies 2021-04-20 19:14:59 +07:00
299592ed25 Update readme 2021-04-16 19:44:51 +03:00