2020-09-20 12:36:48 +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()
|
2020-09-20 12:36:48 +03:00
|
|
|
}
|
2020-01-12 10:02:28 +03:00
|
|
|
|
2021-06-14 17:51:06 +03:00
|
|
|
description = "Functions, integration and interpolation"
|
|
|
|
|
2022-07-11 17:27:59 +03:00
|
|
|
kotlin.sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
|
|
|
}
|
2020-01-12 10:02:28 +03:00
|
|
|
}
|
2021-01-30 20:12:14 +03:00
|
|
|
|
2022-07-12 23:10:38 +03:00
|
|
|
dependencies {
|
2022-12-31 15:02:52 +03:00
|
|
|
dokkaPlugin("org.jetbrains.dokka:mathjax-plugin:${spclibs.versions.dokka.get()}")
|
2022-07-12 23:10:38 +03:00
|
|
|
}
|
|
|
|
|
2021-01-30 20:12:14 +03:00
|
|
|
readme {
|
2022-07-29 15:58:02 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.EXPERIMENTAL
|
2021-01-30 20:12:14 +03:00
|
|
|
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
|
|
|
|
|
2021-04-16 15:50:33 +03:00
|
|
|
feature("piecewise", "src/commonMain/kotlin/space/kscience/kmath/functions/Piecewise.kt") {
|
|
|
|
"Piecewise functions."
|
|
|
|
}
|
|
|
|
feature("polynomials", "src/commonMain/kotlin/space/kscience/kmath/functions/Polynomial.kt") {
|
|
|
|
"Polynomial functions."
|
|
|
|
}
|
|
|
|
feature("linear interpolation", "src/commonMain/kotlin/space/kscience/kmath/interpolation/LinearInterpolator.kt") {
|
|
|
|
"Linear XY interpolator."
|
|
|
|
}
|
|
|
|
feature("spline interpolation", "src/commonMain/kotlin/space/kscience/kmath/interpolation/SplineInterpolator.kt") {
|
|
|
|
"Cubic spline XY interpolator."
|
|
|
|
}
|
|
|
|
feature("integration") {
|
|
|
|
"Univariate and multivariate quadratures"
|
|
|
|
}
|
2021-06-14 17:51:06 +03:00
|
|
|
}
|