Skip to content

Instantly share code, notes, and snippets.

@jgcastro89
jgcastro89 / GEPP
Created Oct 17, 2017
Gaussian Elimination with Partial Pivoting Modularized
View GEPP
import numpy as np
class GEPP():
"""
Gaussian elimination with partial pivoting.
input: A is an n x n numpy matrix
b is an n x 1 numpy array
output: x is the solution of Ax=b