2020-09-20 12:36:48 +03:00
|
|
|
plugins {
|
2021-04-14 12:40:26 +03:00
|
|
|
kotlin("multiplatform")
|
|
|
|
id("ru.mipt.npm.gradle.common")
|
2021-07-16 21:12:14 +03:00
|
|
|
id("ru.mipt.npm.gradle.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"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
api(projects.testUtilsFunctions)
|
|
|
|
}
|
2020-09-08 12:40:47 +03:00
|
|
|
}
|
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 {
|
|
|
|
dokkaPlugin("org.jetbrains.dokka:mathjax-plugin:${versionCatalogs.named("npmlibs").findVersion("dokka").get().requiredVersion}")
|
|
|
|
}
|
|
|
|
|
2021-01-30 20:12:14 +03:00
|
|
|
readme {
|
2021-04-16 15:50:33 +03:00
|
|
|
maturity = ru.mipt.npm.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
|
|
|
}
|