Commit Graph

2242 Commits

Author SHA1 Message Date
Iaroslav Postovalov
e447a15304
Make MstAlgebra operations return specific types 2020-11-28 13:42:18 +07:00
Iaroslav Postovalov
3e7c9d8dce
Rework unary/binary operation API 2020-11-28 13:37:37 +07:00
af306084cf Test for #65 2020-11-22 19:16:08 +03:00
1538bc0e69 Merge remote-tracking branch 'origin/dev' into dev 2020-11-22 19:06:50 +03:00
434229a43a Implementation for #65 2020-11-22 19:06:38 +03:00
Iaroslav Postovalov
aaecc36532
Update invalid test 2020-11-10 19:07:17 +07:00
Iaroslav Postovalov
1539113e72
Make complex and quaternion NaN-hostile 2020-11-10 19:01:26 +07:00
Iaroslav Postovalov
3c602e859d
Merge branch 'dev' into mp-samplers
# Conflicts:
#	examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionBenchmark.kt
#	examples/src/main/kotlin/kscience/kmath/commons/prob/DistributionDemo.kt
#	kmath-commons/src/main/kotlin/kscience/kmath/commons/expressions/DiffExpression.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/distributions/NormalDistribution.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/internal/InternalErf.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/internal/InternalGamma.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/internal/InternalUtils.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/AhrensDieterExponentialSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/AhrensDieterMarsagliaTsangGammaSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/AliasMethodDiscreteSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/BoxMullerNormalizedGaussianSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/GaussianSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/KempSmallMeanPoissonSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/LargeMeanPoissonSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/MarsagliaNormalizedGaussianSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/NormalizedGaussianSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/PoissonSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/SmallMeanPoissonSampler.kt
#	kmath-stat/src/commonMain/kotlin/kscience/kmath/stat/samplers/ZigguratNormalizedGaussianSampler.kt
#	kmath-stat/src/jvmMain/kotlin/kscience/kmath/stat/distributions.kt
2020-11-02 01:16:29 +07:00
Iaroslav Postovalov
b1ccca1019
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
#	examples/build.gradle.kts
#	examples/src/main/kotlin/kscience/kmath/ast/ExpressionsInterpretersBenchmark.kt
#	kmath-ast/src/commonMain/kotlin/kscience/kmath/ast/MstAlgebra.kt
2020-11-02 01:15:13 +07:00
Iaroslav Postovalov
abe68a4fb6
Merge pull request #150 from mipt-npm/kotlingrad
Add adapters of scalar functions to MST and vice versa
2020-11-02 01:09:44 +07:00
Iaroslav Postovalov
33d23c8d28
Duplicate repositories declared in main build script, fix errors 2020-11-02 01:08:55 +07:00
Iaroslav Postovalov
658a1703ed
Add KDoc comment 2020-10-31 21:44:52 +07:00
Iaroslav Postovalov
6b71d8525d
Merge branch 'dev' into kotlingrad
# Conflicts:
#	examples/build.gradle.kts
#	examples/src/main/kotlin/kscience/kmath/ast/ExpressionsInterpretersBenchmark.kt
2020-10-30 19:08:50 +07:00
Iaroslav Postovalov
d14e437659
Update DifferentiableExpression by providing second type argument representing the result of differentiation 2020-10-30 16:57:19 +07:00
Iaroslav Postovalov
ef7066b8c9
Update example 2020-10-30 16:40:58 +07:00
Iaroslav Postovalov
bc4eb95ae7
Add extension functions for DifferentiableMstExpression 2020-10-30 16:40:43 +07:00
Iaroslav Postovalov
0731f2bd89
Merge branch 'nd4j' into dev 2020-10-30 01:09:46 +07:00
Iaroslav Postovalov
29a670483b
Update KG and Maven repos, delete symbol delegate provider, implement working differentiable mst expression based on SFun shape to MST conversion 2020-10-30 01:09:11 +07:00
Iaroslav Postovalov
520f6cedeb
Merge branch 'dev' into kotlingrad 2020-10-30 00:00:38 +07:00
Iaroslav Postovalov
095b165fa4
Uncomment expressions benchmark, and add factory methods for Nd4jRing and Nd4jField 2020-10-29 23:59:36 +07:00
Alexander Nozik
d7071566fa
Merge pull request #116 from mipt-npm/nd4j
Implement kmath-nd4j: module that implements NDStructure for INDArray of ND4J
2020-10-29 19:58:53 +03:00
Alexander Nozik
f40c1f2919
Merge branch 'dev' into nd4j 2020-10-29 19:58:35 +03:00
6f31ddba30 Fix CM DerivativeStructureField constants 2020-10-29 19:50:45 +03:00
fbe1ab94a4 Change DifferentiableExpression API to use ordered symbol list instead of orders map. 2020-10-29 19:35:08 +03:00
Iaroslav Postovalov
61e58c4302
Enable AST example 2020-10-29 16:04:04 +07:00
Iaroslav Postovalov
cdd196097e
Specify operator modifier explicitly 2020-10-29 15:56:41 +07:00
Iaroslav Postovalov
6d016c87f2
Merge branch 'dev' into feature/quaternion
# Conflicts:
#	CHANGELOG.md
2020-10-29 15:49:49 +07:00
Iaroslav Postovalov
1e1819ac78
Merge branch 'dev' into gsl-experiment
# Conflicts:
#	build.gradle.kts
#	settings.gradle.kts
2020-10-29 15:47:09 +07:00
Iaroslav Postovalov
022b8f0fa3
Regenerate readme 2020-10-29 15:44:30 +07:00
Iaroslav Postovalov
57910f617a
Rename API classes, update readme files 2020-10-29 15:39:53 +07:00
Iaroslav Postovalov
d7cf04a98b
Merge branch 'dev' into nd4j
# Conflicts:
#	CHANGELOG.md
#	settings.gradle.kts
2020-10-29 13:38:52 +07:00
Iaroslav Postovalov
6f0f6577de
Refactor toSFun, update KG, delete KMath algebra protocol, update DifferentiableMstExpr. 2020-10-29 13:34:12 +07:00
Iaroslav Postovalov
f341d02941
Rename files, improve error handling, minor codegen update 2020-10-29 04:23:36 +07:00
Iaroslav Postovalov
7f8abbdd20
Fix typo, introduce KG protocol delegating to algebra 2020-10-29 02:22:34 +07:00
Iaroslav Postovalov
2b7803290f
Merge branch 'dev' into kotlingrad
# Conflicts:
#	settings.gradle.kts
2020-10-28 18:37:21 +07:00
Iaroslav Postovalov
55909aee0d
Add additional constructor 2020-10-28 18:36:00 +07:00
Alexander Nozik
4b7bd3d174
Merge pull request #154 from mipt-npm/feature/diff-api
Feature/diff api
2020-10-28 13:25:23 +03:00
Alexander Nozik
ef2fa5f30e
Merge branch 'dev' into feature/diff-api 2020-10-28 12:08:38 +03:00
e5751c4cdc Fix did not work, rolled back. 2020-10-28 10:07:50 +03:00
73b4294122 Try to fix Native compilation bug 2020-10-28 09:56:33 +03:00
5fa4d40f41 Remove Differentiable 2020-10-28 09:25:37 +03:00
dfa1bcaf01 prob renamed to stat 2020-10-28 09:16:21 +03:00
f8c3d1793c Fitting refactor 2020-10-28 09:08:37 +03:00
1c1580c8e6 Generification of autodiff and chi2 2020-10-27 17:57:49 +03:00
9a147d033e Another refactor of SimpleAutoDiff 2020-10-27 17:57:17 +03:00
Iaroslav Postovalov
202ea3582c
Add field test, minor refactor 2020-10-27 20:31:28 +07:00
Iaroslav Postovalov
828e40c452
Add toQuaternion extension for Complex 2020-10-27 19:19:53 +07:00
Iaroslav Postovalov
59a50810cc
Remove KDoc comments 2020-10-27 18:17:42 +07:00
Iaroslav Postovalov
3714cfc28e
Replace Double specialized ops with Number ones 2020-10-27 18:15:43 +07:00
Iaroslav Postovalov
76717c49b1
Implement fast quaternion implementation, minor changes to complex 2020-10-27 18:06:27 +07:00