v0.2.0 #206

Merged
altavir merged 210 commits from dev into master 2021-02-21 16:33:25 +03:00
Showing only changes of commit 1ce8a5708d - Show all commits

View File

@ -2,6 +2,7 @@ package kaceince.kmath.real
import kscience.kmath.linear.Matrix import kscience.kmath.linear.Matrix
import kscience.kmath.linear.build import kscience.kmath.linear.build
import kscience.kmath.misc.UnstableKMathAPI
import kscience.kmath.real.* import kscience.kmath.real.*
import kscience.kmath.structures.contentEquals import kscience.kmath.structures.contentEquals
import kotlin.test.Test import kotlin.test.Test
@ -91,6 +92,7 @@ internal class RealMatrixTest {
assertEquals(matrix1.pow(3), matrix3) assertEquals(matrix1.pow(3), matrix3)
} }
@OptIn(UnstableKMathAPI::class)
@Test @Test
fun testTwoMatrixOperations() { fun testTwoMatrixOperations() {
val matrix1 = Matrix.build(2, 3)( val matrix1 = Matrix.build(2, 3)(