2021-03-31 11:07:45 +03:00
|
|
|
plugins {
|
2022-09-04 20:59:30 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
|
|
|
}
|
|
|
|
|
2024-03-27 09:11:12 +03:00
|
|
|
kscience {
|
2023-02-03 19:32:53 +03:00
|
|
|
jvm()
|
2023-05-29 15:13:13 +03:00
|
|
|
js {
|
|
|
|
browser {
|
2024-03-27 09:11:12 +03:00
|
|
|
testTask {
|
2024-12-21 14:02:54 +03:00
|
|
|
useMocha {
|
|
|
|
timeout = "0"
|
|
|
|
}
|
2023-05-29 15:13:13 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-04 20:59:30 +03:00
|
|
|
native()
|
2024-02-17 21:32:26 +03:00
|
|
|
wasm()
|
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-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
|
|
|
|
2024-03-27 09:11:12 +03:00
|
|
|
commonTest {
|
|
|
|
dependencies {
|
2022-09-11 15:27:38 +03:00
|
|
|
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." }
|
|
|
|
}
|