ef336af87d
Fix vector product
2023-03-16 09:37:03 +03:00
cff563c321
Major tensor refactoring
2022-11-05 16:14:23 +03:00
d70389d2e6
Fix after series merge
2022-09-26 16:47:38 +03:00
4d1137659b
Merge branch 'feature/series' into dev
...
# Conflicts:
# build.gradle.kts
# kmath-commons/src/main/kotlin/space/kscience/kmath/commons/transform/Transformations.kt
# kmath-core/build.gradle.kts
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/AlgebraND.kt
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/BufferAlgebraND.kt
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/BufferND.kt
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/ShapeIndices.kt
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/operations/BufferAlgebra.kt
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/operations/DoubleBufferOps.kt
# kmath-core/src/commonMain/kotlin/space/kscience/kmath/structures/bufferExtensions.kt
# kmath-histograms/src/jvmMain/kotlin/space/kscience/kmath/histogram/UnivariateHistogram.kt
# kmath-stat/src/commonMain/kotlin/space/kscience/kmath/distributions/UniformDistribution.kt
# kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/Sampler.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/BroadcastDoubleTensorAlgebra.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/BufferedTensor.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/DoubleTensorAlgebra.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/internal/broadcastUtils.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/internal/linUtils.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/internal/tensorCastsUtils.kt
# kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/internal/utils.kt
# settings.gradle.kts
2022-09-26 13:10:59 +03:00
Gleb Minaev
efe14f50bf
#472: Update copyright.
2022-08-19 15:59:13 +03:00
Gleb Minaev
f48e4483cc
Last cosmetic changes.
2022-07-16 22:21:13 +03:00
Gleb Minaev
2d86cf1cc7
Remove power overriding and algebraic stub.
2022-07-16 21:55:35 +03:00
Gleb Minaev
99c7174802
Turn Polynomial data class back.
2022-07-16 20:55:10 +03:00
Gleb Minaev
58d7015782
Remove utils modules. Revive suddenly lost tests.
2022-07-16 20:15:30 +03:00
Gleb Minaev
87aeda84d9
Added MathJax to docs.
2022-07-12 23:10:38 +03:00
Gleb Minaev
5bc627f1d4
Rollback all breaking changes. The only breaking change now is value class.
2022-07-12 01:56:34 +03:00
Gleb Minaev
6ff79e28ac
Fix names, references, etc.
2022-07-12 00:57:44 +03:00
Gleb Minaev
f726e6d0f1
Minimise appearance of new feature, leave only upgrades.
2022-07-11 23:32:15 +03:00
Gleb Minaev
51dd72e48f
Finish move.
2022-07-11 22:39:13 +03:00
Gleb Minaev
d44a48bdb1
Moving to new modules.
2022-07-11 17:27:59 +03:00
Gleb Minaev
d3be07987c
Simplify usages of LabeledPolynomial constructing fabrics. Fix bugs. Add tests for variable's interoperability.
2022-07-06 23:16:25 +03:00
Gleb Minaev
923c52737d
Adapt NumberedPolynomial tests to LabeledPolynomial tests.
2022-07-06 17:13:50 +03:00
Gleb Minaev
5834fad938
Renamed constructing DSLs components. Fixed rejected NumberedPolynomial tests.
2022-07-06 00:37:46 +03:00
Gleb Minaev
45ed45bd13
Finish tests generation for numbered utilities. Also:
...
- Optimize a bit labeled and numbered differentiation.
- Fixed bugs in numbered anti-differentiation.
2022-07-05 03:41:52 +03:00
Gleb Minaev
e40977647d
Added suppresses.
2022-07-05 03:35:56 +03:00
Gleb Minaev
e89e4e19d3
Return suppresses.
2022-07-04 03:54:28 +03:00
Gleb Minaev
39088ec36b
Replaced assertFailsWith with assertFailsWithTypeAndMessage.
2022-07-04 02:36:46 +03:00
Gleb Minaev
102e83b478
Tests generation for numbered utilities in progress: finish substitutions.
2022-07-04 02:24:46 +03:00
Gleb Minaev
672a3c1552
Tests generation for numbered utilities in progress: finish map-wise substitutions. Also:
...
- Upgrade operations on Rational.
- Add new assertions.
- Changed a bit FIXME comments.
2022-07-03 15:47:12 +03:00
Gleb Minaev
f147636e9d
Tests generation for numbered utilities in progress.
2022-07-01 14:46:05 +03:00
Gleb Minaev
c8b9951f46
Added for list utilities for rational functions.
2022-06-29 14:54:49 +03:00
Gleb Minaev
64b33aed18
Remove extra suppresses.
2022-06-29 14:53:12 +03:00
Gleb Minaev
da46ea923c
Extended test for NumberedPolynomial
2022-06-28 15:07:09 +03:00
Gleb Minaev
043d292eca
Added test. Fixed bug in NumberedPolynomial's DSL.
2022-06-27 17:14:03 +03:00
Gleb Minaev
0ef2258665
Removed extra suppresses.
2022-06-27 17:11:39 +03:00
Gleb Minaev
ed634013f6
Removed extra suppresses.
2022-06-27 17:07:33 +03:00
Gleb Minaev
630d16bbee
Added design notes. Also:
...
- Changed `xxxPolynomialSpace()` and `xxxPolynomialSpace()` functions to `xxxPolynomialSpace` value properties.
- Changed inconsistency of names `XxxRationalFunctionalSpaceYyy` and `XxxRationalFunctionSpaceYyy` in favor of second one.
2022-06-26 12:16:51 +03:00
Gleb Minaev
3e917baaaf
Added examples for polynomials. Also:
...
- Fixed bug in differentiation of NumberedPolynomials.
- Fixed bug in addition and subtraction of LabeledPolynomials.
- Added references to NumberedPolynomialWithoutCheck and LabeledPolynomialWithoutCheck.
- Made NumberedRationalFunction and LabeledRationalFunction classes data. Made their constructor public.
2022-06-25 21:23:32 +03:00
Gleb Minaev
403ff93f4a
Moved optimizations to branch refactor/polynomials
2022-06-25 16:01:18 +03:00
Gleb Minaev
9fc99a4c72
Removed extra copyright comment.
2022-06-25 15:45:10 +03:00
Gleb Minaev
680d23ddcb
Last sift. Cleaned up labeled structures.
2022-06-18 01:25:14 +03:00
Gleb Minaev
1ea336b70e
Added some test of NumberedPolynomial utilities.
2022-06-17 22:07:54 +03:00
Gleb Minaev
b5a94923b5
Fixed problems with JVM names. Exposed internal NumberedPolynomial constructor with opt-in condition. Added and upgraded tests. Fixed small bugs (mistakes). Upgraded arithmetic operations a bit.
2022-06-17 01:53:40 +03:00
Gleb Minaev
d0134bdbe9
Sift 4. Cleaned up "numbered" case. Tests are in progress.
2022-06-14 19:15:36 +03:00
Gleb Minaev
58e0715714
Removed duplicates of copyright comments.
2022-06-13 12:15:14 +03:00
Gleb Minaev
5928adfe45
Fixed merging accidents.
2022-06-13 12:08:58 +03:00
Gleb Minaev
dbb48a2a9f
Added docstrings to ListPolynomial and ListRationalFunction fabric functions.
2022-06-13 01:41:04 +03:00
Gleb Minaev
ab9bba2202
Put suddenly disappeared files back.
2022-06-13 00:16:22 +03:00
Gleb Minaev
b50d8dcd23
Merge branch 'feature/polynomials-ListPolynomials' into feature/polynomials-sift
...
# Conflicts:
# kmath-functions/src/commonMain/kotlin/space/kscience/kmath/functions/ListPolynomial.kt
# kmath-functions/src/commonMain/kotlin/space/kscience/kmath/functions/ListRationalFunction.kt
# kmath-functions/src/commonMain/kotlin/space/kscience/kmath/functions/Polynomial.kt
# kmath-functions/src/commonMain/kotlin/space/kscience/kmath/functions/RationalFunction.kt
# kmath-functions/src/commonMain/kotlin/space/kscience/kmath/functions/listUtilOptimized.kt
# kmath-functions/src/commonTest/kotlin/space/kscience/kmath/functions/ListPolynomialTest.kt
# kmath-functions/src/commonTest/kotlin/space/kscience/kmath/functions/ListPolynomialUtilTest.kt
# kmath-functions/src/commonTest/kotlin/space/kscience/kmath/test/misc/IntModulo.kt
# kmath-functions/src/commonTest/kotlin/space/kscience/kmath/test/misc/misc.kt
2022-06-12 23:54:30 +03:00
Gleb Minaev
94fd24d852
Fixed some tests and docstrings. Removed zero
and one
overridings because overrided fields are already lazily initialized.
2022-06-12 23:49:44 +03:00
Gleb Minaev
e710013800
Fixed tests.
2022-06-12 23:02:26 +03:00
Gleb Minaev
3a6aa14320
Cleaned up ListPolynomials and ListRationalFunctions:
...
- Added/updated docs.
- Fully (but in a simple way) implemented invocation, substitution, functional representation, derivatives and antiderivatives. Optimized reimplementation is in progress.
- Upgraded `PolynomialSpaceOfFractions` by adding a bit of laziness.
- Other little things...
2022-06-12 22:52:08 +03:00
Gleb Minaev
17703e407d
Applied changes from previous sift.
2022-06-12 00:24:23 +03:00
Gleb Minaev
03b92de6e0
Sifted ListPolynomial's basics.
2022-06-11 19:29:14 +03:00
Gleb Minaev
8af183a969
Fixed typos. Added docstrings. Added variable convertional methods.
2022-06-11 19:22:57 +03:00