- Download and extract zip file
- In line
1
of input.in, enterrow col
- In the subsequent lines, enter in your matrix. Make sure to add an extra line at the end, otherwise it won't work.
- In the command prompt, run
java Driver input.in
- View the step by step instructions.
Input file:
![Screenshot 2023-12-15 at 12 27 53 PM](https://private-user-images.githubusercontent.com/81490699/290894434-ebd9b641-da2c-4b40-af72-e2ee1aaea408.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2OTM5MjIsIm5iZiI6MTcyMzY5MzYyMiwicGF0aCI6Ii84MTQ5MDY5OS8yOTA4OTQ0MzQtZWJkOWI2NDEtZGEyYy00YjQwLWFmNzItZTJlZTFhYWVhNDA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDAzNDcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiMTRlZDQ2MTYyZjBmZmQyMGQ0NDBmOWQ3MzdkNjUyMDFjZDg1OTY1MzRkMjg1MGYwM2U5MzNjMTI5YTVmMWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Vc22sjnVgz62iXiIgk4rkuYrPd4ZgjRD-387rCzk7gc)
CMD prompt:
![Screenshot 2023-12-15 at 12 29 54 PM](https://private-user-images.githubusercontent.com/81490699/290894865-c719c052-fc8e-49da-921d-50adfbb23f03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2OTM5MjIsIm5iZiI6MTcyMzY5MzYyMiwicGF0aCI6Ii84MTQ5MDY5OS8yOTA4OTQ4NjUtYzcxOWMwNTItZmM4ZS00OWRhLTkyMWQtNTBhZGZiYjIzZjAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDAzNDcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyZmQ0MTBiODA4ZWU1OGI4OGM2MTA0ZmIwYzJkYWM1ZjBiOWVjNDE2YmYwNjEwZGZhM2JlYTc5YTUyNDFhOGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XR3kJBQFHI1zlARdV0rPXMidvfJ7K9njOelLWsPdIBk)
Row Echelon Form:
![Screenshot 2023-12-15 at 12 30 15 PM](https://private-user-images.githubusercontent.com/81490699/290894957-1f246c74-eeb2-4993-9dc3-807938a13ddf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2OTM5MjIsIm5iZiI6MTcyMzY5MzYyMiwicGF0aCI6Ii84MTQ5MDY5OS8yOTA4OTQ5NTctMWYyNDZjNzQtZWViMi00OTkzLTlkYzMtODA3OTM4YTEzZGRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDAzNDcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3MGQ4YzAxYzhlNTNlYWE5OWQ5YzAyZGE0MTI5MjNjODU3YzJjOGZkNDIwOWZlNGFkYmVlMjViZjAwM2MzYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.c_EH9Cu6-5wUkb-_tJeACjTBafyxRNzWOFaRF2yB6yk)
Reduced:
![Screenshot 2023-12-15 at 12 33 14 PM](https://private-user-images.githubusercontent.com/81490699/290895565-15d70131-dd35-441a-a592-5cc94c46c5ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2OTM5MjIsIm5iZiI6MTcyMzY5MzYyMiwicGF0aCI6Ii84MTQ5MDY5OS8yOTA4OTU1NjUtMTVkNzAxMzEtZGQzNS00NDFhLWE1OTItNWNjOTRjNDZjNWVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDAzNDcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliYWVlODZhYzQwYTY4YTA0ZWQ0YjMwM2U4ODEwNjEwNDk4ZGFlNTI5ZGFhMDcxZGM1YTcyZDk1YTY4NjA2NmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TEqOV89LMH7l5Cs6TF25mLuBisjWCBZ7-lDnVVHeAbo)
For the sake of time, I haven't formatted fractions correctly, so it's going to return as a decimal.