Update multik.kt

This commit is contained in:
Alexander Nozik 2021-10-18 13:04:36 +03:00 committed by GitHub
parent dccc92bf2f
commit bfc6cbe5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,5 +20,5 @@ import space.kscience.kmath.operations.DoubleField
fun main(): Unit = with(DoubleField.multikND) {
val a = Multik.ndarray(intArrayOf(1, 2, 3)).asType<Double>().wrap()
val b = Multik.ndarray(doubleArrayOf(1.0, 2.0, 3.0))
one(a.shape) - a + power()
}
one(a.shape) - a
}