Dev #280

Merged
altavir merged 99 commits from dev into master 2021-04-16 19:45:55 +03:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 5bdc02d18c - Show all commits

View File

@ -6,6 +6,7 @@
- Field extends ScaleOperations
- Basic integration API
- Basic MPP distributions and samplers
- bindSymbolOrNull
### Changed
- Exponential operations merged with hyperbolic functions

View File

@ -18,7 +18,7 @@ allprojects {
}
group = "space.kscience"
version = "0.3.0-dev-4"
version = "0.3.0-dev-5"
}
subprojects {

View File

@ -5,7 +5,6 @@ import space.kscience.kmath.ast.MST
import space.kscience.kmath.ast.MstAlgebra
import space.kscience.kmath.ast.interpret
import space.kscience.kmath.expressions.DifferentiableExpression
import space.kscience.kmath.expressions.Expression
import space.kscience.kmath.misc.Symbol
import space.kscience.kmath.operations.NumericAlgebra
@ -22,7 +21,7 @@ import space.kscience.kmath.operations.NumericAlgebra
public class DifferentiableMstExpression<T : Number, A : NumericAlgebra<T>>(
public val algebra: A,
public val mst: MST,
) : DifferentiableExpression<T, Expression<T>> {
) : DifferentiableExpression<T, DifferentiableMstExpression<T, A>> {
public override fun invoke(arguments: Map<Symbol, T>): T = mst.interpret(algebra, arguments)