This is the one and only homepage of the JLinAlg-project,

an open source and easy-to-use Java-library for linear algebra that

is licensed under the GNU General Public License (GPL).

an open source and easy-to-use Java-library for linear algebra that

is licensed under the GNU General Public License (GPL).

- Basic matrix and vector operations like scalar product and matrix multiplication. Also: Fast matrix multiplication using the Strassen- and the Strassen-Winograd algorithms.
- Matrices and vectors can be filled with arbitrary field elements like rational numbers, complex numbers or even prime fields.
- Compute the inverse or the determinant of a matrix.
- Gauss- and Gauss-Jordan algorithm are available.
- Calculate a solution or the solution space of a linear equation system.
- Calculate the eigenvalues of real matrices.
- All operations can be done without rounding errors (except for numeric data types like DoubleWrapper).
- Element-wise mathematical and logical operations on vectors and matrices.
- L1 and L2 vector norms.
- Canonical vector and matrix factory methods: identity matrix, all ones, all zeros, uniformly distributed noise, Gaussian (normally distributed) noise.
- Application of user-defined functions to all elements of a matrix or vector (or pairs of matrices and vectors).

- Go to the Download section and get the latest version of JLinAlg.
- Set up your environment (We recommend to use Eclipse in any of the following two cases):
- If you want to use JLinAlg as a library, use jlinalg-v0.xx.jar contained in the Zip-file. In Eclipse you can just add it to your project by going to Project -> Properties -> java build path -> libraries. There you can use "Add Jars" (drag and drop jlinalg-0.xx.jar to your project first) or "Add External Jars" and select the location of jlinalg-0.xx.jar
- In case you want to have a look at the source code, you can find it inside the Zip-file under "JLinAlg/src". In Eclipse you can just go to File -> Import -> Existing Projects into Workspace. Now select the directory containing the downloaded Zip-file and the project JLinAlg-v0.xx should appear and be checked. Now click "finish".

- Get to know JLinAlg. Have a look at the examples and the documentation (both also included in the Zip-File).
- Do something cool with it.
- Use our forums at Sourceforge and tell us about it!

- JLinAlg-v0.6: The complete source code including Eclipse project files, the API as a jar-file and javadoc in one zip-file.
- Earlier versions: Other releases at Sourceforge.

- JLinalg API-Documentation (generated Javadoc): Quite thorough documentation of every method and constructor.
- Browse the history of our SVN repository or, even further back, the one in our old CVS repository.

- The class F2 represents an element of the modulo 2 field F2 and a factory as inner class. F2 is a field, just like the rational numbers. The examples in F2Demo.java illustrate how to create elements in F2 using the factory, how to create matrices, and to operate on them (source). The file F2.java shows how to implement a type and a factory. (source).
- LinearEquationSystemDemo.java: This example shows how to calculate a solution or its solution space (source).
- MatrixOperationsDemo.java: How to calculate them for matrices over arbitrary fields (source).
- EigenvaluesDemo.java: This example shows how JLinAlg can do eigenvalue computation with real matrices (matrices with DoubleWrapper entries) (source).
- FieldPDemo.java: This demonstration of the class FieldP shows that in vector spaces over finite fields there can be linear dependent vectors which are all orthogonal to each other (source).
- Xor.java: Exclusive-Or neural net problem using JLinAlg (source).

- Andreas Keilhauer: Freelance software engineer (founder of JLinAlg), Germany
- Simon D. Levy: Assoc. Professor, Washington and Lee University, USA
- Andreas Lochbihler: Postdoc at the ETH Zurich, Switzerland
- Safak Ökmen: Computer Scientist, TU Munich, Germany.
- Georg Lothar Thimm: Asst. Professor, Nanyang Technological University, Singapore
- Christian Würzebesser: former Research Associate, EAWAG, Zurich, Switzerland
- ... and perhaps you, too. Use our forums at Sourceforge and contact us!

- JLinAlg at Sourceforge: Project website at Sourceforge
- Regression 2003: Program for regression analysis (uses JLinAlg)
- SNARLI: Java-library for neural networks (uses JLinALg)
- Crystal Net tools analyse auto- and isomorphisms of infinite nets (representing often crystals ;-) and needs vectors and matrices with rational numbers for this.
- ... your own project is still missing? Use our forums at Sourceforge and tell us about it!

This project is hosted on...