DDogleg Numerics is library for Java. Usage documentation is primarily provided in the form of examples and JavaDoc. To use DDogleg simply add its jars to your class path like you would with any other library. Ant and Maven scripts are provided for compiling the source code, alternatively you can use the command line or your favorite IDE.


Full documentation of the API is contained in the JavaDoc

Example Code

Several examples are included with the source code and can be found in the “ddogleg/example/src” directory. For your convenience several examples have been added to this website, see links below. To view the latest examples, browse the GIT repository.

List of Example Code:

Latest example code at Github:


Manuals are available only when a simple code example is insufficient and provide a more detailed explanation of the techniques available.

Building the Library

DDogleg is easy to compile and build its Jar files. Ant and Gradle scripts are provided, see below. It is also easy to create a new project and build it using your favorite IDE, e.g. IntelliJ and Eclipse.


$ cd ddogleg/
$ ./gradlew createLibraryDirectory
:processResources UP-TO-DATE
:sourcesJar UP-TO-DATE


Total time: 7.238 secs

Then look in the “ddogleg/libraries” directory for compiled jar and source