Skip to content

SciProgCentre/kmath-polynomial

Repository files navigation

Polynomials and Rational Functions for KMath

KMath provides a way to work with uni- and multivariate polynomials and rational functions. It includes full support of arithmetic operations on integers, constants (elements of the ring that polynomials are built over), variables (for certain multivariate implementations), polynomials and rational functions encapsulated in the so-called polynomial space and rational function space and some other utilities, such as algebraic differentiation and substitution.

Note

This library is not actively maintained. At the moment, all the improvement is carried out in my Kone library which looks similar to KMath but is not compatible with it.

If you need polynomials in your project, you can inform me in Kotlin Slack. Then I'll try to move here all the features from Kone.

Author

The project is created and maintained by Gleb Minaev.

Implementation

Implementation note can be found in docs

Features

Artifact:

The Maven coordinates of this project are space.kscience:kmath-polynomial:1.0.0-kmath-0.3.1-dev-5.

Gradle Groovy:

repositories {
    maven { url 'https://repo.kotlin.link' }
    mavenCentral()
}

dependencies {
    implementation 'space.kscience:kmath-polynomial:1.0.0-kmath-0.3.1-dev-5'
}

Gradle Kotlin DSL:

repositories {
    maven("https://repo.kotlin.link")
    mavenCentral()
}

dependencies {
    implementation("space.kscience:kmath-polynomial:1.0.0-kmath-0.3.1-dev-5")
}