I have the task to calculate u with the gaussian Eliminiation algorithm in:
Au = b
A is a Matrix (2-dimensional-Array) looking the following:
[1.0, 0.0, 0.0, 0.0, 0.0]
[-25.0, 50.0, -25.0, 0.0, 0.0]
[0.0, -25.0, 50.0, -25.0, 0.0]
[0.0, 0.0, -25.0, 50.0, -25.0]
[0.0, 0.0, 0.0, 0.0, 1.0]
b is a Vector (Array) looking the following:
[0.0, 1.115696, 1.115696, 1.115696, 0.0]
How do i use the Gaussian Elimination algorithm on this? Is there already something that java has implemented? Or how would a code look like to calculate this? Im thankful for any kind of help!