Skip to content

Instantly share code, notes, and snippets.

View th3happybit's full-sized avatar
:octocat:
^~^

Oussama Messabih th3happybit

:octocat:
^~^
View GitHub Profile
import numpy as np
def GEPP(A, b, doPricing = True):
'''
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
with the entries permuted in