Skip to content

Commit 57b8e7a

Browse files
committed
Changed pseudocode to code
1 parent de67eb9 commit 57b8e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapters/matrix_methods/gaussian_elimination/gaussian_elimination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,13 @@ In code, this looks like:
261261
[import:4-33, lang:"haskell"](code/haskell/gaussianElimination.hs)
262262
{% endmethod %}
263263

264-
As with all code, it takes time to fully absorb what is going on and why everything is happening; however, I have tried to comment the above pseudocode with the necessary steps. Let me know if anything is unclear!
264+
As with all code, it takes time to fully absorb what is going on and why everything is happening; however, I have tried to comment with the necessary steps. Let me know if anything is unclear!
265265

266266
Now, to be clear: this algorithm creates an upper-triangular matrix. In other words, it only creates a matrix in *Row Echelon Form*, not * **Reduced** Row Echelon Form*! So what do we do from here? Well, we could create another step to further reduce the matrix, but another method would be to use *Back-Substitution*.
267267

268268
The back-substitution method is precisely what we said above.
269269
If we have a matrix in Row Echelon Form, we can directly solve for $$z$$, and then plug that value in to find $$y$$ and then plug both of those values in to find $$x$$!
270-
Even though this seems straightforward, the pseudocode might not be as simple as you thought!
270+
Even though this seems straightforward, the code might not be as simple as you thought!
271271

272272
{% method %}
273273
{% sample lang="jl" %}

0 commit comments

Comments
 (0)