kmath/kmath-tensors/build.gradle.kts
Margarita Lashina 47600dff23 tests changed
2023-06-06 00:39:19 +03:00

64 lines
1.7 KiB
Plaintext

plugins {
id("space.kscience.gradle.mpp")
}
kscience{
jvm()
js {
browser {
testTask {
useMocha().timeout = "0"
}
}
}
native()
dependencies {
api(projects.kmathCore)
api(projects.kmathStat)
}
}
kotlin.sourceSets {
all {
languageSettings.optIn("space.kscience.kmath.misc.UnstableKMathAPI")
}
filter { it.name.contains("test", true) }
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
.forEach { it.optIn("space.kscience.kmath.misc.PerformancePitfall") }
commonMain {
dependencies {
api(project(":kmath-core"))
api(project(":kmath-stat"))
}
}
commonTest{
dependencies{
implementation(projects.testUtils)
}
}
}
readme {
maturity = space.kscience.gradle.Maturity.PROTOTYPE
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
feature(
id = "tensor algebra",
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt"
) { "Basic linear algebra operations on tensors (plus, dot, etc.)" }
feature(
id = "tensor algebra with broadcasting",
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/core/BroadcastDoubleTensorAlgebra.kt"
) { "Basic linear algebra operations implemented with broadcasting." }
feature(
id = "linear algebra operations",
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt"
) { "Advanced linear algebra operations like LU decomposition, SVD, etc." }
}