2021-01-30 20:12:14 +03:00
|
|
|
# Functions (`kmath-functions`)
|
|
|
|
|
|
|
|
Functions and interpolations:
|
|
|
|
|
2021-01-30 20:23:15 +03:00
|
|
|
- [piecewise](Piecewise functions.) : src/commonMain/kotlin/kscience/kmath/functions/Piecewise.kt
|
|
|
|
- [polynomials](Polynomial functions.) : src/commonMain/kotlin/kscience/kmath/functions/Polynomial.kt
|
|
|
|
- [linear interpolation](Linear XY interpolator.) : src/commonMain/kotlin/kscience/kmath/interpolation/LinearInterpolator.kt
|
|
|
|
- [spline interpolation](Cubic spline XY interpolator.) : src/commonMain/kotlin/kscience/kmath/interpolation/SplineInterpolator.kt
|
2021-01-30 20:12:14 +03:00
|
|
|
|
|
|
|
|
|
|
|
> #### Artifact:
|
|
|
|
>
|
2021-02-19 10:52:56 +03:00
|
|
|
> This module artifact: `space.kscience:kmath-functions:0.2.0-dev-7`.
|
2021-01-30 20:12:14 +03:00
|
|
|
>
|
|
|
|
> Bintray release version: [ ![Download](https://api.bintray.com/packages/mipt-npm/kscience/kmath-functions/images/download.svg) ](https://bintray.com/mipt-npm/kscience/kmath-functions/_latestVersion)
|
|
|
|
>
|
|
|
|
> Bintray development version: [ ![Download](https://api.bintray.com/packages/mipt-npm/dev/kmath-functions/images/download.svg) ](https://bintray.com/mipt-npm/dev/kmath-functions/_latestVersion)
|
|
|
|
>
|
|
|
|
> **Gradle:**
|
|
|
|
>
|
|
|
|
> ```gradle
|
|
|
|
> repositories {
|
2021-02-19 10:52:56 +03:00
|
|
|
> maven { url 'https://repo.kotlin.link' }
|
2021-01-30 20:12:14 +03:00
|
|
|
> maven { url 'https://dl.bintray.com/hotkeytlt/maven' }
|
2021-02-19 10:52:56 +03:00
|
|
|
> maven { url "https://dl.bintray.com/kotlin/kotlin-eap" } // include for builds based on kotlin-eap
|
|
|
|
>// Uncomment if repo.kotlin.link is unavailable
|
|
|
|
>// maven { url 'https://dl.bintray.com/mipt-npm/kscience' }
|
|
|
|
>// maven { url 'https://dl.bintray.com/mipt-npm/dev' }
|
2021-01-30 20:12:14 +03:00
|
|
|
> }
|
|
|
|
>
|
|
|
|
> dependencies {
|
2021-02-19 10:52:56 +03:00
|
|
|
> implementation 'space.kscience:kmath-functions:0.2.0-dev-7'
|
2021-01-30 20:12:14 +03:00
|
|
|
> }
|
|
|
|
> ```
|
|
|
|
> **Gradle Kotlin DSL:**
|
|
|
|
>
|
|
|
|
> ```kotlin
|
|
|
|
> repositories {
|
2021-02-19 10:52:56 +03:00
|
|
|
> maven("https://repo.kotlin.link")
|
|
|
|
> maven("https://dl.bintray.com/kotlin/kotlin-eap") // include for builds based on kotlin-eap
|
|
|
|
> maven("https://dl.bintray.com/hotkeytlt/maven") // required for a
|
|
|
|
>// Uncomment if repo.kotlin.link is unavailable
|
|
|
|
>// maven("https://dl.bintray.com/mipt-npm/kscience")
|
|
|
|
>// maven("https://dl.bintray.com/mipt-npm/dev")
|
2021-01-30 20:12:14 +03:00
|
|
|
> }
|
|
|
|
>
|
|
|
|
> dependencies {
|
2021-02-19 10:52:56 +03:00
|
|
|
> implementation("space.kscience:kmath-functions:0.2.0-dev-7")
|
2021-01-30 20:12:14 +03:00
|
|
|
> }
|
|
|
|
> ```
|