2021-03-31 11:07:45 +03:00
|
|
|
plugins {
|
2022-09-04 20:59:30 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
|
|
|
}
|
|
|
|
|
|
|
|
kscience{
|
2023-02-03 19:32:53 +03:00
|
|
|
jvm()
|
|
|
|
js()
|
2022-09-04 20:59:30 +03:00
|
|
|
native()
|
2023-02-03 19:32:53 +03:00
|
|
|
|
2022-09-05 16:30:39 +03:00
|
|
|
dependencies {
|
|
|
|
api(projects.kmathCore)
|
|
|
|
api(projects.kmathStat)
|
|
|
|
}
|
2021-03-31 11:07:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin.sourceSets {
|
2021-05-01 20:45:23 +03:00
|
|
|
all {
|
2023-04-21 12:41:46 +03:00
|
|
|
languageSettings.optIn("space.kscience.kmath.UnstableKMathAPI")
|
2021-05-01 20:45:23 +03:00
|
|
|
}
|
2021-07-16 21:12:14 +03:00
|
|
|
|
2021-11-23 23:48:43 +03:00
|
|
|
filter { it.name.contains("test", true) }
|
|
|
|
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
|
2023-04-21 12:41:46 +03:00
|
|
|
.forEach { it.optIn("space.kscience.kmath.PerformancePitfall") }
|
2021-11-23 23:48:43 +03:00
|
|
|
|
2021-03-31 11:07:45 +03:00
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
api(project(":kmath-stat"))
|
|
|
|
}
|
|
|
|
}
|
2022-09-11 15:27:38 +03:00
|
|
|
|
|
|
|
commonTest{
|
|
|
|
dependencies{
|
|
|
|
implementation(projects.testUtils)
|
|
|
|
}
|
|
|
|
}
|
2021-03-31 11:07:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
readme {
|
2022-07-29 15:58:02 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.PROTOTYPE
|
2021-04-29 17:09:50 +03:00
|
|
|
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
|
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "tensor algebra",
|
|
|
|
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt"
|
2021-07-12 20:21:46 +03:00
|
|
|
) { "Basic linear algebra operations on tensors (plus, dot, etc.)" }
|
2021-04-29 17:09:50 +03:00
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "tensor algebra with broadcasting",
|
2021-07-12 20:21:46 +03:00
|
|
|
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/core/BroadcastDoubleTensorAlgebra.kt"
|
|
|
|
) { "Basic linear algebra operations implemented with broadcasting." }
|
2021-04-29 17:09:50 +03:00
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "linear algebra operations",
|
|
|
|
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt"
|
2021-07-12 20:21:46 +03:00
|
|
|
) { "Advanced linear algebra operations like LU decomposition, SVD, etc." }
|
|
|
|
}
|