https://github.com/modscleo4/mathpp
Simple Java utility with a bunch of mathematical functions
https://github.com/modscleo4/mathpp
java-utilities math
Last synced: 11 months ago
JSON representation
Simple Java utility with a bunch of mathematical functions
- Host: GitHub
- URL: https://github.com/modscleo4/mathpp
- Owner: modscleo4
- License: apache-2.0
- Created: 2018-01-26T19:01:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-02T05:14:10.000Z (about 7 years ago)
- Last Synced: 2025-01-24T06:42:17.064Z (about 1 year ago)
- Topics: java-utilities, math
- Language: Java
- Size: 6.75 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Math++
## Simple Java utility with a bunch of mathematical functions
[](https://travis-ci.org/modscleo4/mathpp)
Math++ provides functions from number base conversion to Matrix operations, including determinant, matrix multiplication, sum, subtraction, transposing and inverting.
There's a library which you can use in your own app, including Android apks.
All the functions were documented, so all you have to do is put it in your library path and use its functions.
### Library functions (example usage)
```java
public class Main {
public static void main(String[] args) {
Matrix mat = new Matrix({
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
});
System.out.println("Determinant: " + mat.determinant());
System.out.println("Is a triangle matrix? " + mat.isTriangle());
}
}
```