DEV Community

Cover image for Gaussian Elimination - [Linear Algebra #3]
Liu YongLiang
Liu YongLiang

Posted on

Gaussian Elimination - [Linear Algebra #3]

Demo

Gaussian Elimination

Step Detail
1 Locate the leftmost column that does not contain all zero.
2 Interchange the top row with another row, so as to make the
leading entry of top row nonzero.
3 For each row below the top row, add a suitable multiple of
top row so that all values below the leading entry of the
top row is zero.
... Cover the top row and repeat as necessary to the rest of the
matrix.

Web Dev notes

  • first-of-type only works on type such as div,p,etc, it does not work on class.
  • Use of animation keyframe for simple animations.
  • Further extension could be adding error handling mechanisms and make the matrix re-sizable.

Discussion (0)