Add adapters of scalar functions to MST and vice versa #150

Merged
CommanderTvis merged 23 commits from kotlingrad into dev 2020-11-01 21:09:45 +03:00
Showing only changes of commit 658a1703ed - Show all commits

View File

@ -9,6 +9,9 @@ package kscience.kmath.expressions
public interface DifferentiableExpression<T, R : Expression<T>> : Expression<T> { public interface DifferentiableExpression<T, R : Expression<T>> : Expression<T> {
/** /**
* Differentiates this expression by ordered collection of [symbols]. * Differentiates this expression by ordered collection of [symbols].
*
* @param symbols the symbols.
* @return the derivative or `null`.
*/ */
public fun derivativeOrNull(symbols: List<Symbol>): R? public fun derivativeOrNull(symbols: List<Symbol>): R?
} }