kmath/kmath-tensors/build.gradle.kts

45 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-03-31 11:07:45 +03:00
plugins {
2022-09-04 20:59:30 +03:00
id("space.kscience.gradle.mpp")
}
kscience{
native()
2021-03-31 11:07:45 +03:00
}
kotlin.sourceSets {
2021-05-01 20:45:23 +03:00
all {
languageSettings.optIn("space.kscience.kmath.misc.UnstableKMathAPI")
2021-05-01 20:45:23 +03:00
}
2021-07-16 21:12:14 +03:00
filter { it.name.contains("test", true) }
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
.forEach { it.optIn("space.kscience.kmath.misc.PerformancePitfall") }
2021-03-31 11:07:45 +03:00
commonMain {
dependencies {
api(project(":kmath-core"))
api(project(":kmath-stat"))
}
}
}
readme {
2022-07-29 15:58:02 +03:00
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." }
}