kmath/kmath-core/build.gradle.kts

68 lines
2.2 KiB
Plaintext
Raw 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
}
kscience{
native()
dependencies {
api(project(":kmath-memory"))
}
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.misc.PerformancePitfall")
it.optIn("space.kscience.kmath.misc.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" }
}