kmath/kmath-core/build.gradle.kts

83 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2020-09-25 10:13:38 +03:00
plugins {
2022-07-29 15:58:02 +03:00
id("space.kscience.gradle.mpp")
2022-09-04 20:59:30 +03:00
}
2024-03-27 09:11:12 +03:00
kscience {
2023-02-03 19:32:53 +03:00
jvm()
js()
2022-09-04 20:59:30 +03:00
native()
2023-05-26 11:38:50 +03:00
wasm()
2022-09-04 20:59:30 +03:00
dependencies {
api(projects.attributesKt)
2022-09-04 20:59:30 +03:00
}
2023-04-09 10:55:58 +03:00
testDependencies {
implementation(projects.testUtils)
}
2020-09-25 10:13:38 +03:00
}
2019-01-26 19:38:18 +03:00
kotlin.sourceSets {
filter { it.name.contains("test", true) }
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
.forEach {
it.optIn("space.kscience.kmath.PerformancePitfall")
it.optIn("space.kscience.kmath.UnstableKMathAPI")
}
2020-06-05 18:05:16 +03:00
}
2020-09-25 10:13:38 +03:00
readme {
description = "Core classes, algebra definitions, basic linear algebra"
2022-07-29 15:58:02 +03:00
maturity = space.kscience.gradle.Maturity.DEVELOPMENT
2020-09-26 12:15:11 +03:00
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
2020-09-25 10:13:38 +03:00
feature(
id = "algebras",
2021-07-16 21:12:14 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/operations/Algebra.kt",
) { "Algebraic structures like rings, spaces and fields." }
2020-09-25 10:13:38 +03:00
feature(
id = "nd",
2021-07-16 21:12:14 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/structures/StructureND.kt",
) { "Many-dimensional structures and operations on them." }
2021-01-30 20:12:14 +03:00
feature(
id = "linear",
2021-07-16 21:12:14 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/operations/Algebra.kt",
) { "Basic linear algebra operations (sums, products, etc.), backed by the `Space` API. Advanced linear algebra operations like matrix inversion and LU decomposition." }
2021-01-30 20:12:14 +03:00
2020-09-25 10:13:38 +03:00
feature(
id = "buffers",
2021-07-16 21:12:14 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/structures/Buffers.kt",
) { "One-dimensional structure" }
2020-09-25 10:13:38 +03:00
feature(
id = "expressions",
2021-07-16 21:12:14 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/expressions"
) {
"""
2021-01-30 20:12:14 +03:00
By writing a single mathematical expression once, users will be able to apply different types of
objects to the expression by providing a context. Expressions can be used for a wide variety of purposes from high
performance calculations to code generation.
2021-07-16 21:12:14 +03:00
""".trimIndent()
}
2020-09-25 10:13:38 +03:00
feature(
id = "domains",
2021-07-16 21:12:14 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/domains",
) { "Domains" }
2020-09-25 10:13:38 +03:00
feature(
2021-07-16 21:12:14 +03:00
id = "autodiff",
2021-03-16 22:46:22 +03:00
ref = "src/commonMain/kotlin/space/kscience/kmath/expressions/SimpleAutoDiff.kt"
2021-07-16 21:12:14 +03:00
) { "Automatic differentiation" }
2024-02-18 15:05:56 +03:00
feature(
2024-03-27 09:11:12 +03:00
id = "Parallel linear algebra"
) {
2024-02-18 15:05:56 +03:00
"""
Parallel implementation for `LinearAlgebra`
""".trimIndent()
}
}