https://github.com/kylecorry31/matrix
A simple matrix library for Kotlin / Java
https://github.com/kylecorry31/matrix
Last synced: about 1 year ago
JSON representation
A simple matrix library for Kotlin / Java
- Host: GitHub
- URL: https://github.com/kylecorry31/matrix
- Owner: kylecorry31
- License: mit
- Created: 2020-01-23T12:08:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-02T13:50:00.000Z (over 6 years ago)
- Last Synced: 2025-02-13T10:23:31.069Z (over 1 year ago)
- Language: Kotlin
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Matrix
[](https://jitpack.io/#kylecorry31/Matrix)

A simple matrix library for Kotlin / Java
```java
Matrix m = new Matrix(new double[]{
new double[]{ 1.0, 2.0 },
new double[]{ 4.0, 3.0 }
});
Matrix i = Matrix.identity(2);
Matrix a = m.dot(i);
Matrix b = m.transpose();
Matrix c = m.plus(b);
```