https://github.com/ykechan/jacobi
Jacobi - Matrix Library for Java
https://github.com/ykechan/jacobi
decomposition eigenvalues java linear-algebra linear-equations linear-regression matrix-library statistics
Last synced: 5 months ago
JSON representation
Jacobi - Matrix Library for Java
- Host: GitHub
- URL: https://github.com/ykechan/jacobi
- Owner: ykechan
- License: mit
- Created: 2015-11-09T08:33:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T17:58:32.000Z (almost 4 years ago)
- Last Synced: 2023-07-01T02:41:23.680Z (almost 3 years ago)
- Topics: decomposition, eigenvalues, java, linear-algebra, linear-equations, linear-regression, matrix-library, statistics
- Language: Java
- Size: 16.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Jacobi Java Matrix Library

[](https://codecov.io/gh/ykechan/jacobi)
[](https://codebeat.co/projects/github-com-ykechan-jacobi-master)

[](https://www.javadoc.io/doc/com.github.ykechan/jacobi)
## Synopsis
Jacobi is a comprehensive library for computations involving matrices for
Java programmers. The goal of this project is to provide easy to use matrix
library with complex computational logic at the fingertip of Java developers.
## Code Example
```java
Matrix matrix = Matrices.of(new double[][]{ {3.0, 2.0, -1.0}, {2.0, -2.0, 4.0}, {-1.0, 0.5, -1.0} });
Matrix y = Matrices.of(new double[][]{ {1.0}, {-2.0}, {-2.0} });
Matrix x = matrix.ext(Solver.class).exact(y); // load Solver extension and solve for x
```
## Functionalities
### Algebra
- [x] Addition
- [x] Subtraction
- [x] Scalar Multiplication
- [x] Matrix Multiplication
- [x] Hadamard Product
### Properties
- [x] Trace
- [x] Rank
- [x] Determintant
- [x] Inverse
- [x] Tranpose
- [x] Eigenvalues
- [x] Singular Values
### Decomposition
- [x] Cholesky
- [x] Gaussian (PLU)
- [x] QR
- [x] Hessenberg
- [x] Schur
- [ ] SVD
### System of linear equations
- [x] Exact solution
- [x] Linear Regression
- [x] Linear Programming
### Statistics
- [x] Min
- [x] Max
- [x] Mean
- [ ] Median
- [x] Variance
- [x] Standard Deviation
- [x] Co-variance
### Kernel Trick
- [x] Insert computed values
- [x] Projection (Select)
## License
Jacobi will be licensed under MIT and shall keep on to be a free software in the
foreseeable future.