plugins {
    id("ru.mipt.npm.mpp")
}

kotlin.sourceSets.commonMain {
    dependencies {
        api(project(":kmath-core"))
    }
}

readme {
    description = """
        Extension module that should be used to achieve numpy-like behavior. 
        All operations are specialized to work with `Double` numbers without declaring algebraic contexts.
        One can still use generic algebras though.
        """.trimIndent()
    maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
    propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))

    feature(
        id = "RealVector",
        description = "Numpy-like operations for Buffers/Points",
        ref = "src/commonMain/kotlin/kscience/kmath/real/RealVector.kt"
    )

    feature(
        id = "RealMatrix",
        description = "Numpy-like operations for 2d real structures",
        ref = "src/commonMain/kotlin/kscience/kmath/real/RealMatrix.kt"
    )

    feature(
        id = "grids",
        description = "Uniform grid generators",
        ref = "src/commonMain/kotlin/kscience/kmath/structures/grids.kt"
    )
}