The Apache 2 license (given in full in LICENSE.txt) applies to all code in this repository, which is copyright by the contributors of KMath. The following sections of the repository contain third-party code, to which different licenses may apply: ## KMath Libraries The following modules contain third-party code and are incorporated into the KMath Libraries: - Path: kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/SplineInterpolator.kt - License: Apache 2 ([cm](third_party/cm_license.txt)) - Origin: Derived from Apache Commons Math, (c) 2001-2020 The Apache Software Foundation - Path: kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/LinearInterpolator.kt - License: Apache 2 ([cm](third_party/cm_license.txt)) - Origin: Derived from Apache Commons Math, (c) 2001-2020 The Apache Software Foundation - Path: kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/LoessInterpolator.kt - License: Apache 2 ([cm](third_party/cm_license.txt)) - Origin: Derived from Apache Commons Math, (c) 2001-2020 The Apache Software Foundation - Path: kmath-functions/src/commonMain/kotlin/space/kscience/kmath/integration/GaussIntegratorRuleFactory.kt - License: Apache 2 ([cm](third_party/cm_license.txt)) - Origin: Derived from Apache Commons Math, (c) 2001-2020 The Apache Software Foundation - Path: kmath-for-real/src/commonMain/kotlin/space/kscience/kmath/real/RealMatrix.kt - License: Apache 2 ([numky](third_party/numky_license.txt)) - Origin: Initial implementation was taken from Numky - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/AhrensDieterExponentialSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/AhrensDieterMarsagliaTsangGammaSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/AliasMethodDiscreteSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/BoxMullerSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/GaussianSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/KempSmallMeanPoissonSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/MarsagliaNormalizedGaussianSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/NormalizedGaussianSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/PoissonSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation - Path: kmath-stat/src/commonMain/kotlin/space/kscience/kmath/samplers/ZigguratNormalizedGaussianSampler.kt - License: Apache 2 ([cm](third_party/crng_license.txt)) - Origin: Derived from Apache Commons RNG, (c) 2001-2020 The Apache Software Foundation