Apache Commons Math

org.apache.commons : commons-math3

The Apache Commons Math project is a library of lightweight, self-contained mathematics and statistics components addressing the most common practical problems not immediately available in the Java programming language or commons-lang.

[Website] ·
1k usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-math3</artifactId>
    <version>3.6.1</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the org.apache.commons:commons-math3 library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-math3</artifactId>
  <version>3.6.1</version>
</dependency>
</dependencies>

To install org.apache.commons:commons-math3 library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.apache.commons:commons-math3 library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.apache.commons:commons-math3:3.6.1'
}

Gradle Kotlin DSL: Add the org.apache.commons:commons-math3 library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.apache.commons:commons-math3:3.6.1")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.apache.commons:commons-math3 library to your build.sbt file:

libraryDependencies += "org.apache.commons" % "commons-math3" % "3.6.1"

4. Add dependency to a Grape project

Grape: Add an annotation org.apache.commons:commons-math3 library to your groovy script file:

@Grapes(
    @Grab('org.apache.commons:commons-math3:3.6.1')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (1)

Group / Artifact Usage
junit » junit 63,836

Recommended for You

More from Group