This program is developed to to fulfill the First Major Assignment of IF2123 Linear Algebra and Geometry course. Here we use Java programming languages to develop this program. This program is intended to:
- Calculate solution of System of Linear Equations using Gauss Elimination, Gauss-Jordan Elimination, Inverse Matrix, and Crammer rule.
- Calculate matrix's determinant using Gauss Elimination and Cofactor Expansion.
- Calculate inverse matrix.
- Solve polynomial interpolation problem and multiple linear regression.
This program contain several directories:
bin
directory contains binary codes or*.class
filesdocs
directory contains documentation and report of this assignment.lib
directory containsjar
file (library of this program).src
directory containsjava
files or source codes of this program.test
directory contains test case files for this program.
Here are some things that need to be downloaded and install first:
- Clone this repository
git clone https://github.com/hafidznrg/Algeo01-20056.git
- There are several ways to run this program:
- Using command line
cd src javac -d ../bin ./*.java cd ../bin java Main
- Using
run.bat
file, you can either userun
command in root folder or open the file with double click - Using
jar
filecd lib java --enable-preview -jar Algeo01-20056.jar
- Using command line
Please note that when read and write file, you only need to specify file name without the directory, for example:
input_1a.txt
,input4.txt
,input_7.txt
. Default directory is on test folder. if you want to make new file for test case, kindly make it on test folder. Also don't use Java Process Console if you want to read and write file.
This program was developed and is maintained by
- Fikri Khoiron Fadhila (13520056)
- Malik Akbar Hashemi Rafsanjani (13520105)
- Hafidz Nur Rahman Ghozali (13520117)