The core interfaces of KMath.
- algebras : Algebraic structures like rings, spaces and fields.
- nd : Many-dimensional structures and operations on them.
- linear : Basic linear algebra operations (sums, products, etc.), backed by the
SpaceAPI. Advanced linear algebra operations like matrix inversion and LU decomposition. - buffers : One-dimensional structure
- expressions : 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.
- domains : Domains
- autodiff : Automatic differentiation
- Parallel linear algebra : Parallel implementation for
LinearAlgebra - bignumbers : Arbitrary precision integers (BigInt) and decimals (BigDecimal) with algebraic contexts.
The Maven coordinates of this project are space.kscience:kmath-core:0.6.0.
Gradle Kotlin DSL:
repositories {
maven("https://repo.kotlin.link")
mavenCentral()
}
dependencies {
implementation("space.kscience:kmath-core:0.6.0")
}kmath-core includes multiplatform implementations of arbitrary-precision integers (BigInt) and fixed-scale decimals (BigDecimal), along with algebraic contexts (BigIntField, BigDecimalField) and JVM integrations (JBigIntegerField, JBigDecimalField).
For a detailed guide with examples, see Arbitrary Precision Numbers Documentation.