This project is an implementation of Matrix Calculator for IF2123 Aljabar Linier dan Geometri (Semester I 2025/2026).
The application is built in Java 17 using Maven as the build tool, and includes both CLI (Command Line Interface) and JavaFX GUI modes.
Main features include:
- Solving Sistem Persamaan Linier (SPL)
- Computing Determinant
- Calculating Matrix Inverse
- Performing Interpolation and Regression
To start the Matrix Calculator program, open your terminal in the project’s root directory (where pom.xml is located) and run:
mvn javafx:run🪟 How to Use the Program
Once the GUI window appears, you will see the main menu of the Matrix Calculator. It contains several features for performing various linear algebra operations.
🏠 Main Menu Options
You can select one of the following features:
Feature Description
- Sistem Persamaan Linier (SPL) Solve systems of linear equations using Gauss, Gauss–Jordan, Cramer, or Inverse methods.
- Determinan Matriks Calculate the determinant of a matrix using cofactor expansion or row reduction.
- Invers Matriks Compute the inverse of a square matrix using Gauss–Jordan or Adjoint (cofactor) methods.
- Interpolasi Polinomial Find the polynomial passing through a given set of points.
- Regresi Polinomial Perform polynomial regression for multi-variable datasets.
Step Description
- Choose Feature Select the operation you want to perform from the main menu.
- Choose Method For features that have multiple solving methods (e.g., Invers: Gauss–Jordan / Adjoin).
- Choose Input Type You can input data manually (keyboard) or upload from a file.
- Enter or Upload Data Fill in the matrix/table fields, or upload a .txt file.
- Click “Solve” The program will process the input and display the result.
- View Results The output will appear in the text area, including the final answer and step-by-step calculations.