diff --git a/kmath-core/kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html b/kmath-core/kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html index 8368596e6..b48b972c5 100644 --- a/kmath-core/kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html +++ b/kmath-core/kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html @@ -153,7 +153,7 @@
-
div +
div
Link copied to clipboard
@@ -162,16 +162,16 @@
-
-
open operator fun MST.div(b: MST): MST
open operator fun MST.div(b: MST): MST
-
-
Division of two elements.
-
-
open operator fun MST.div(k: Number): MST
open operator fun MST.div(k: Number): MST
open operator fun MST.div(k: Number): MST
open operator fun MST.div(k: Number): MST
Division of this element by scalar.
+
+ +
+
open operator fun MST.div(b: MST): MST
open operator fun MST.div(b: MST): MST
+
+
Division of two elements.
diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-differentiable-mst-expression/index.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-differentiable-mst-expression/index.html index 8b3f44900..f3535117d 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-differentiable-mst-expression/index.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-differentiable-mst-expression/index.html @@ -23,7 +23,7 @@

DifferentiableMstExpression

-
class DifferentiableMstExpression<T : Number, A : NumericAlgebra<T>>(algebra: A, mst: MST) : DifferentiableExpression<T, DifferentiableMstExpression<T, A>>

Represents wrapper of MstExpression implementing DifferentiableExpression.

The principle of this API is converting the mst to an SFun, differentiating it with Kotlin∇, then converting SFun back to MST.

+
class DifferentiableMstExpression<T : Number, A : NumericAlgebra<T>>(algebra: A, mst: MST) : DifferentiableExpression<T, DifferentiableMstExpression<T, A>>

Represents wrapper of MstExpression implementing DifferentiableExpression.

The principle of this API is converting the mst to an SFun, differentiating it with Kotlin∇, then converting SFun back to MST.

diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/index.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/index.html index 7e0415a01..c1b9b112c 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/index.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/index.html @@ -23,7 +23,7 @@

KMathNumber

-
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : RealNumber<KMathNumber<T, A>, T>

Implements RealNumber by delegating its functionality to NumericAlgebra.

+
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : RealNumber<KMathNumber<T, A>, T>

Implements RealNumber by delegating its functionality to NumericAlgebra.

@@ -58,7 +58,7 @@
-
fun apply(op: Op): (SFun<KMathNumber<T, A>>) -> SFun<KMathNumber<T, A>>
fun apply(vararg xs: Fun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
+
fun apply(op: Op): (SFun<KMathNumber<T, A>>) -> SFun<KMathNumber<T, A>>
fun apply(vararg xs: Fun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
@@ -92,7 +92,7 @@
-
open fun List<Pair<Fun<KMathNumber<T, A>>, Any>>.bind(): Bindings<KMathNumber<T, A>>
+
open fun List<Pair<Fun<KMathNumber<T, A>>, Any>>.bind(): Bindings<KMathNumber<T, A>>
@@ -109,7 +109,7 @@
-
open override fun cos(): SConst<KMathNumber<T, A>>
+
open override fun cos(): SConst<KMathNumber<T, A>>
@@ -126,7 +126,7 @@
-
open fun <R : D1, C : D1> d(mVar: MVar<KMathNumber<T, A>, R, C>): MFun<KMathNumber<T, A>, R, C>
open fun d(v1: SVar<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open fun <L : D1> d(vVar: VVar<KMathNumber<T, A>, L>): VFun<KMathNumber<T, A>, L>
+
open fun <R : D1, C : D1> d(mVar: MVar<KMathNumber<T, A>, R, C>): MFun<KMathNumber<T, A>, R, C>
open fun d(v1: SVar<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open fun <L : D1> d(vVar: VVar<KMathNumber<T, A>, L>): VFun<KMathNumber<T, A>, L>
@@ -143,7 +143,7 @@
-
open operator override fun div(divisor: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
operator fun div(divisor: Number): SFun<KMathNumber<T, A>>
+
open operator override fun div(divisor: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
operator fun div(divisor: Number): SFun<KMathNumber<T, A>>
@@ -177,7 +177,7 @@
-
fun exp(): SFun<KMathNumber<T, A>>
+
fun exp(): SFun<KMathNumber<T, A>>
@@ -194,7 +194,7 @@
-
open fun grad(): Map<SVar<KMathNumber<T, A>>, SFun<KMathNumber<T, A>>>
+
open fun grad(): Map<SVar<KMathNumber<T, A>>, SFun<KMathNumber<T, A>>>
@@ -228,7 +228,7 @@
-
open operator override fun invoke(): SFun<KMathNumber<T, A>>
open operator override fun invoke(newBindings: Bindings<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open operator override fun invoke(vararg funs: Fun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open operator override fun invoke(vararg numbers: Number): SFun<KMathNumber<T, A>>
open operator override fun invoke(vararg ps: Pair<Fun<KMathNumber<T, A>>, Any>): SFun<KMathNumber<T, A>>
+
open operator override fun invoke(): SFun<KMathNumber<T, A>>
open operator override fun invoke(newBindings: Bindings<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open operator override fun invoke(vararg funs: Fun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open operator override fun invoke(vararg numbers: Number): SFun<KMathNumber<T, A>>
open operator override fun invoke(vararg ps: Pair<Fun<KMathNumber<T, A>>, Any>): SFun<KMathNumber<T, A>>
@@ -262,7 +262,7 @@
-
fun ln(): SFun<KMathNumber<T, A>>
+
fun ln(): SFun<KMathNumber<T, A>>
@@ -279,7 +279,7 @@
-
open override fun log(base: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
+
open override fun log(base: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
@@ -296,7 +296,7 @@
-
open operator fun minus(subtrahend: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
operator fun minus(subtrahend: Number): SFun<KMathNumber<T, A>>
+
open operator fun minus(subtrahend: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
operator fun minus(subtrahend: Number): SFun<KMathNumber<T, A>>
@@ -313,7 +313,7 @@
-
open operator override fun plus(addend: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
operator fun plus(addend: Number): SFun<KMathNumber<T, A>>
+
open operator override fun plus(addend: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
operator fun plus(addend: Number): SFun<KMathNumber<T, A>>
@@ -330,7 +330,7 @@
-
open infix override fun pow(exponent: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
infix fun pow(exp: Number): SFun<KMathNumber<T, A>>
+
open infix override fun pow(exponent: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
infix fun pow(exp: Number): SFun<KMathNumber<T, A>>
@@ -347,7 +347,7 @@
-
open override fun sin(): SConst<KMathNumber<T, A>>
+
open override fun sin(): SConst<KMathNumber<T, A>>
@@ -364,7 +364,7 @@
-
open override fun sqrt(): SConst<KMathNumber<T, A>>
+
open override fun sqrt(): SConst<KMathNumber<T, A>>
@@ -381,7 +381,7 @@
-
open override fun tan(): SConst<KMathNumber<T, A>>
+
open override fun tan(): SConst<KMathNumber<T, A>>
@@ -398,7 +398,7 @@
-
open operator override fun <R : D1, C : D1> times(multiplicand: MFun<KMathNumber<T, A>, R, C>): MFun<KMathNumber<T, A>, R, C>
open operator override fun times(multiplicand: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open operator override fun <E : D1> times(multiplicand: VFun<KMathNumber<T, A>, E>): VFun<KMathNumber<T, A>, E>
operator fun times(multiplicand: Number): SFun<KMathNumber<T, A>>
+
open operator override fun <R : D1, C : D1> times(multiplicand: MFun<KMathNumber<T, A>, R, C>): MFun<KMathNumber<T, A>, R, C>
open operator override fun times(multiplicand: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
open operator override fun <E : D1> times(multiplicand: VFun<KMathNumber<T, A>, E>): VFun<KMathNumber<T, A>, E>
operator fun times(multiplicand: Number): SFun<KMathNumber<T, A>>
@@ -466,7 +466,7 @@
-
open operator override fun unaryMinus(): SConst<KMathNumber<T, A>>
+
open operator override fun unaryMinus(): SConst<KMathNumber<T, A>>
@@ -483,7 +483,7 @@
-
open operator override fun unaryPlus(): SFun<KMathNumber<T, A>>
+
open operator override fun unaryPlus(): SFun<KMathNumber<T, A>>
@@ -500,7 +500,7 @@
-
open override fun wrap(number: Number): SConst<KMathNumber<T, A>>
+
open override fun wrap(number: Number): SConst<KMathNumber<T, A>>
@@ -517,7 +517,7 @@
-
open fun wrapOrError(any: Any): Fun<KMathNumber<T, A>>
+
open fun wrapOrError(any: Any): Fun<KMathNumber<T, A>>
@@ -547,7 +547,7 @@
-
open val bindings: Bindings<KMathNumber<T, A>>
+
open val bindings: Bindings<KMathNumber<T, A>>
@@ -573,7 +573,7 @@
-
val E: Special<KMathNumber<T, A>>
+
val E: Special<KMathNumber<T, A>>
@@ -586,7 +586,7 @@
-
open override val inputs: Array<out Fun<KMathNumber<T, A>>>
+
open override val inputs: Array<out Fun<KMathNumber<T, A>>>
@@ -599,7 +599,7 @@
-
val ONE: Special<KMathNumber<T, A>>
+
val ONE: Special<KMathNumber<T, A>>
@@ -625,7 +625,7 @@
-
val TWO: Special<KMathNumber<T, A>>
+
val TWO: Special<KMathNumber<T, A>>
@@ -651,7 +651,7 @@
-
val ZERO: Special<KMathNumber<T, A>>
+
val ZERO: Special<KMathNumber<T, A>>
diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/wrap.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/wrap.html index 51199c6f6..9cbff7076 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/wrap.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/-k-math-number/wrap.html @@ -27,7 +27,7 @@
-
open override fun wrap(number: Number): SConst<KMathNumber<T, A>>
+
open override fun wrap(number: Number): SConst<KMathNumber<T, A>>
diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/index.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/index.html index 9b42c2b09..5f4d82289 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/index.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/index.html @@ -55,9 +55,9 @@
-
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : RealNumber<KMathNumber<T, A>, T>
+
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : RealNumber<KMathNumber<T, A>, T>
-
Implements RealNumber by delegating its functionality to NumericAlgebra.
+
Implements RealNumber by delegating its functionality to NumericAlgebra.
@@ -91,21 +91,21 @@
-
fun <X : SFun<X>> SConst<X>.toMst(): MST.Numeric
+
fun <X : SFun<X>> SConst<X>.toMst(): MST.Numeric
-
Maps SVar to MST.Numeric directly.
+
Maps SVar to MST.Numeric directly.
-
fun <X : SFun<X>> SFun<X>.toMst(): MST
+
fun <X : SFun<X>> SFun<X>.toMst(): MST
-
Maps SFun objects to MST.
+
Maps SFun objects to MST.
-
fun <X : SFun<X>> SVar<X>.toMst(): MST.Symbolic
+
fun <X : SFun<X>> SVar<X>.toMst(): MST.Symbolic
-
Maps SVar to MST.Symbolic directly.
+
Maps SVar to MST.Symbolic directly.
@@ -120,9 +120,9 @@
-
fun <X : SFun<X>> MST.Numeric.toSConst(): SConst<X>
+
fun <X : SFun<X>> MST.Numeric.toSConst(): SConst<X>
-
Maps MST.Numeric to SConst directly.
+
Maps MST.Numeric to SConst directly.
@@ -137,9 +137,9 @@
-
fun <X : SFun<X>> MST.toSFun(): SFun<X>
+
fun <X : SFun<X>> MST.toSFun(): SFun<X>
-
Maps MST objects to SFun.
+
Maps MST objects to SFun.
diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-mst.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-mst.html index 20c3e9b59..3255a110d 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-mst.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-mst.html @@ -27,21 +27,21 @@
-
fun <X : SFun<X>> SVar<X>.toMst(): MST.Symbolic
+
fun <X : SFun<X>> SVar<X>.toMst(): MST.Symbolic
-

Maps SVar to MST.Symbolic directly.

Return

a node.

+

Maps SVar to MST.Symbolic directly.

Return

a node.

-
fun <X : SFun<X>> SConst<X>.toMst(): MST.Numeric
+
fun <X : SFun<X>> SConst<X>.toMst(): MST.Numeric
-

Maps SVar to MST.Numeric directly.

Return

a node.

+

Maps SVar to MST.Numeric directly.

Return

a node.

-
fun <X : SFun<X>> SFun<X>.toMst(): MST
+
fun <X : SFun<X>> SFun<X>.toMst(): MST
-

Maps SFun objects to MST. Some unsupported operations like Derivative are bound and converted then. Power operation is limited to constant right-hand side arguments.

Detailed mapping is:

Return

a node.

+

Maps SFun objects to MST. Some unsupported operations like Derivative are bound and converted then. Power operation is limited to constant right-hand side arguments.

Detailed mapping is:

Return

a node.

diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-const.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-const.html index 15e93d982..ae73e3a11 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-const.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-const.html @@ -27,9 +27,9 @@
-
fun <X : SFun<X>> MST.Numeric.toSConst(): SConst<X>
+
fun <X : SFun<X>> MST.Numeric.toSConst(): SConst<X>
-

Maps MST.Numeric to SConst directly.

Return

a new constant.

+

Maps MST.Numeric to SConst directly.

Return

a new constant.

diff --git a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-fun.html b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-fun.html index aeee0baf4..aa3ba88d8 100644 --- a/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-fun.html +++ b/kmath-kotlingrad/kmath-kotlingrad/space.kscience.kmath.kotlingrad/to-s-fun.html @@ -27,9 +27,9 @@
-
fun <X : SFun<X>> MST.toSFun(): SFun<X>
+
fun <X : SFun<X>> MST.toSFun(): SFun<X>
-

Maps MST objects to SFun. Unsupported operations throw IllegalStateException.

Detailed mapping is:

Return

a scalar function.

Parameters

<receiver>

the node.

proto

the prototype instance.

+

Maps MST objects to SFun. Unsupported operations throw IllegalStateException.

Detailed mapping is:

Return

a scalar function.

Parameters

<receiver>

the node.

proto

the prototype instance.