Skip to content

Instantly share code, notes, and snippets.

@jgcastro89
jgcastro89 / GEPP
Created October 17, 2017 17:16
Gaussian Elimination with Partial Pivoting Modularized
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