forked from kscience/kmath
update multik module
This commit is contained in:
parent
da34d0f71b
commit
6de43ee4ba
@ -7,6 +7,7 @@ package space.kscience.kmath.tensors
|
|||||||
|
|
||||||
import org.jetbrains.kotlinx.multik.api.Multik
|
import org.jetbrains.kotlinx.multik.api.Multik
|
||||||
import org.jetbrains.kotlinx.multik.api.linalg.dot
|
import org.jetbrains.kotlinx.multik.api.linalg.dot
|
||||||
|
import org.jetbrains.kotlinx.multik.api.math.exp
|
||||||
import org.jetbrains.kotlinx.multik.api.ndarray
|
import org.jetbrains.kotlinx.multik.api.ndarray
|
||||||
import org.jetbrains.kotlinx.multik.ndarray.operations.minus
|
import org.jetbrains.kotlinx.multik.ndarray.operations.minus
|
||||||
import org.jetbrains.kotlinx.multik.ndarray.operations.plus
|
import org.jetbrains.kotlinx.multik.ndarray.operations.plus
|
||||||
@ -18,4 +19,6 @@ fun main() {
|
|||||||
2 + (-a) - 2
|
2 + (-a) - 2
|
||||||
|
|
||||||
a dot a
|
a dot a
|
||||||
|
|
||||||
|
a.exp()
|
||||||
}
|
}
|
@ -32,6 +32,7 @@ include(
|
|||||||
":kmath-histograms",
|
":kmath-histograms",
|
||||||
":kmath-commons",
|
":kmath-commons",
|
||||||
":kmath-viktor",
|
":kmath-viktor",
|
||||||
|
":kmath-multik",
|
||||||
":kmath-optimization",
|
":kmath-optimization",
|
||||||
":kmath-stat",
|
":kmath-stat",
|
||||||
":kmath-nd4j",
|
":kmath-nd4j",
|
||||||
|
Loading…
Reference in New Issue
Block a user